Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Preparing Rails app (with photos) to deploy to Heroku
Taken from this stackoverflow thread:
You need to do two things to resolve it. First, change these two lines from false to true in production.rb file.
config.assets.compile = true
config.assets.digest = true
Second, if you've syntax like this for your images
background: url("imgo.jpg")
Change it to
background: image-url("image.jpg")
I hope it does your job.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.