Skip to content

Instantly share code, notes, and snippets.

@ebonical
Last active December 12, 2015 05:48
Show Gist options
  • Save ebonical/4724142 to your computer and use it in GitHub Desktop.
Save ebonical/4724142 to your computer and use it in GitHub Desktop.
Making sure assets precompile correctly on Heroku. Specifically to get `image-url` helper working correctly.
# See https://devcenter.heroku.com/articles/rails3x-asset-pipeline-cedar/#troubleshooting
#
# Place in config/application.rb
config.assets.initialize_on_precompile = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment