Heroku will work better if precompile is set to false and run bundle exec rake assets:precompile