Error: Sprockets::FileNotFound: couldn't find file 'application.scss' for Heroku Error: Sprockets::FileNotFound: couldn't find file 'application.scss' for Heroku heroku heroku

Error: Sprockets::FileNotFound: couldn't find file 'application.scss' for Heroku


I add the same issue with Sprockets 3.3.3 and our Rails 4.2.3 app.

I fixed it by cleaning our dyno build cache with:

heroku repo:purge_cache

Please note that your next deployment will take longer as bundler cache will be cleared too.


In rails 5 if you use Bower, uncomment in bower_rails.rb

  #bower_rails.install_before_precompile = true