Update
I got this error because I had a public.css and public.js file that was not compiled with the rest of the .css and .js files. The solution was to
bundle exec rake assets:precompile
on your local codeIf this is your first time deploying your app to heroku, you may experience more errors after this is resolved. Let me know what happens.
Actually, you need to run precompilation for your production environment:
RAILS_ENV=production bundle exec rake assets:precompile
on localMore broadly, the Heroku docs describe three options for asset compilation for Rails 3.1+ on Cedar: