How to reset Heroku Rails4 asset pipeline cache
I had this problem, then i realized I forgot to configure to serve static assets on the production env, inside config/enviroments/production.rb
config. serve_static_files = true
To purge Heroku's asset cache, you need the Heroku Repo plugin to the Heroku toolbelt. Install that, then use the command
heroku repo:purge_cache
Deploy after purging the cache.
For cleaning assets, run:
rake assets:clobber
Hopefully this helps. To get changes to Heroku in development I run rake assets:clean
and then rake assets:precompile RAILS_ENV=production --trace
before committing and pushing to Heroku