I'm having a similar issue to this question, but none of the solutions are working for me.
In my Rails 4.0.3 app, I consistently get the following error:
ActionController::RoutingError (No route matches [GET] "/assets/javascripts/underscore-min.map")
vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
vendor/bundle/ruby/2.1.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
vendor/bundle/ruby/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
vendor/bundle/ruby/2.1.0/gems/newrelic_rpm-3.9.0.229/lib/new_relic/agent/instrumentation/middleware_tracing.rb:57:in `call'
I will also occasionally get similar errors when trying to load other assets (images, etc.), but not for all images; this one is the most consistent. This problem occurs on my local server, in the development environment.
I've tried setting config.serve_static_assets = true
in my development.rb file, as well as config.serve_static_files
in case there's a Rails version issue. I've also tried running rake assets:precompile
.
If anyone has any ideas, I'd greatly appreciate it!