Moving to 3.1 on Heroku
Took some lumps moving to 3.1 on Heroku.
Here’s some lessons:
config.assets.initialize_on_precompile = false
this has to be set per Rails Guides and Heroku.
- run “bundle exec rake assets:precompile” locally before pushing to Heroku. I had a lot of stuff work locally, but when Heroku compiled it, it blew up. There were a lot of things that I needed to change in my CSS files, working through them one by one
- the precompile generated files i uploaded (for the assets), as well as the manifest.yml file