I'm running a Rails 4 app on a DreamHost shared server using FastCGI, and I can't seem to get assets working properly.
Precompile will work to compile application.css.scss, but image-url
and asset-url
links do not changes to the correct values (ex. url(/assets/images/image-{digest}.png
).
I've heard that you can change it to .css.scss.erb and use <%= image_tag "image.png" %>, but I'd rather not change every single link in the file if I can help it.
Am I missing something? I'm running
bundle exec rake assets:precompile RAILS_ENV=production
and I have in production.rb
config.assets.compile = false
config.assets.digest = true
What haven't I done yet?