Asset filtered out and will not be served: add `config.assets.precompile
I just migrated my Application to rails 4.1.0 from 4.1.rc2 . Started getting these errors for my JS files ActionView::Template::Error: Asset filtered out and will not be served: add `config.assets.precompile += %w( my_js )` to `config/application.rb` and restart your server Responding to urging from Heroku, the Rails maintainers have merged sanity checks from the sprockets_better_errors gem into Rails 4.1. See https://github.com/rails/sprockets-rails/pull/84 The intent is to reveal asset pipeline errors that you would see in production when you run the app in development mode. You probably are