I am creating a Ruby on Rails application. I have included gem. While checking the application locally, I tried repeatedly to deploy it to Heroku. I first encountered this 500 error:
ActionView::Template::Error (images/apple-touch-icon-144x144-precomposed.png isn't precompiled)
I solved this initial problem by adding this line to the config / environment / production.rb file.
config.assets.compile = true
Now I'm trying to reconnect the rail application to Heroku, but when I click on Heroku I get this 500 error again. I donβt know how to solve this problem:
ActionView::Template::Error (undefined local variable or method `bootstrap_flash' for#<# 77: </div><!--/span--> 79: <%= bootstrap_flash %> 78: <div class="span9"> 80: <%= yield %> app/views/layouts/application.html.erb:79:in `_app_views_layouts_application_html_erb___2619453860724409461_34912060' 81: </div> 82: </div>
Any help would be greatly appreciated!
This is my gemfile:
source 'https://rubygems.org' gem 'rails', '3.2.13'
I tried rake assets:precompile and then uploaded to Heroku, but still no luck.
source share