ruby-on-railsunderscore.jsruby-on-rails-5gmaps4rails

ActionController::RoutingError (No route matches [GET] "/assets/underscore-min.map")


I'm getting this annoying error everytime I refresh a page in my rails 5 app. I need underscore.js for gmaps4rails. This underscore.js file is at vendor/javascript/underscore.js, like the tutorial says (Gmaps4Rails Github repo).

Does anyone have a good solution to solve or supress it?


Solution

  • You should add the .map file, or delete the line in your JS that calls it.