Closed mjc-gh closed 12 years ago
try to add config.assets.initialize_on_precompile = false
in your application.rb
That worked. Thanks!
I also had this problem and had no luck with initialize_on_precompile. The fix for me was to add the rails_12factor gem to my Gemfile as Heroku suggests.
group :production, :staging do
gem 'rails_12factor'
end
Get the following error when deploying to Heroku. My
Gemfile
entry is outside of the:asset
groups