I have been trying to figure out why my production config will still only display the "non digest" URLs. If I run RAILS_ENV=production rails s locally, the URL's work just fine. But as soon as I push to production, the URLs show up like this, instead of digest.
//s3.amazonaws.com/xxxx/stylesheets/application.css
Here is my production config:
# Disable Rails's static asset server (Apache or nginx will already do this).
config.serve_static_assets = false
# Compress JavaScripts and CSS.
config.assets.js_compressor = :uglifier
# config.assets.css_compressor = :sass
# Do not fallback to assets pipeline if a precompiled asset is missed.
config.assets.compile = false
# Generate digests for assets URLs.
config.assets.digest = true
config.action_controller.asset_host = "//s3.amazonaws.com/xxxxx"
config.assets.prefix = "/production/assets"
Am I missing a trigger for the URL's to point towards the compiled digest URLs?
Another question reference, same issue (just found it). Rails 4.0.3 generating incorrect asset paths with asset_sync