I just migrated my Application to rails 4.1.0 from 4.1.rc2. Started getting these errors for my JS files
4.1.0
4.1.rc2
ActionView::Template::Err
Yes, reading the error on the browser, all I did was add the following line of code:
Rails.application.config.assets.precompile += %w( depot.css )
To the /config/initializers/assets.rb file and it worked.