Rails on Heroku - Site does not load - ActionView::Template::Error (The asset "image.jpg" is not present in the asset pipeline.) Rails on Heroku - Site does not load - ActionView::Template::Error (The asset "image.jpg" is not present in the asset pipeline.) heroku heroku

Rails on Heroku - Site does not load - ActionView::Template::Error (The asset "image.jpg" is not present in the asset pipeline.)


It's the simplest way to fix this problem is; You need to run as follows;

  1. rails assets:precompile RAILS_ENV=production
  2. git add .
  3. git commit -m {message}
  4. git push heroku master (push the code to the heroku again)

I tried to do it from your code and work fine.