Open Deekor opened 5 years ago
Its coming from this line in development.rb
config.middleware.use 'ApplicationInsights::Rack::TrackRequest', ENV['AZURE_APP_INSIGHTS_INSTRUMENTATION_KEY'], 500
Not sure if you still having issues with that. But I just did run into the same. And the solution is to remove the quotes around ApplicationInsights::Rack::TrackRequest
.
So this should work:
config.middleware.use ApplicationInsights::Rack::TrackRequest, ENV['AZURE_APP_INSIGHTS_INSTRUMENTATION_KEY'], 500
Just updated my Rails app from 5.0 -> 5.2 and now I cant start the rails server.