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
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: