I deployed my app to Heroku but only the assets\\images are loading. The CSS files (especially the one that contains 90% of the CSS, custom.css) are not being loaded. I precompi
Please make this changes config.serve_static_assets = true
in your production.rb
Please let me know what happen.hope it will work..
Thanks
How about making a change to application.css(.scss) (like adding new empty line) and committing that? It seems that Heroku is checking for the diff files and precompiles assets accordingly. I just happened to know it accidentally, so you can try if it helps.
Update your gemfile with
*group :production, :staging do
gem 'rails_12factor'
end*
Install your bundle and push it to heroku
Installing rails_serve_static_assets (0.0.1)
Installing rails_stdout_logging (0.0.1)
Installing rails_12factor (0.0.2)
It helps me when I had same problem.