Skip to content

Instantly share code, notes, and snippets.

@xntrik
Created November 25, 2012 14:13
Show Gist options
  • Save xntrik/4143694 to your computer and use it in GitHub Desktop.
Save xntrik/4143694 to your computer and use it in GitHub Desktop.
How I got CDN going with Rails 3.2 on Heroku
http://stackoverflow.com/questions/9907512/why-heroku-dont-use-the-good-manifest-yml
so i placed:
config.assets.initialize_on_precompile = false
in
config/application.rb
after i push, i then run:
heroku run rake assets:precompile
AND, for good measure:
heroku console
AssetSync.sync
then
heroku restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment