Lack of fingerprints on the way to assets

We just deployed the Rails 3.1 application using the new asset pipeline. In development, everything looks great, but in the production, all asset images are missing. When deploying, we followed the Ruby on Rails Edge tutorial. For example, a simple piece of code from our application:

asset_path "favicon.png", "images" 

This is generated during the production process:

 /assets/favicon.png 

But there is no fingerprint (and therefore this is a dead line in production). We already tried it without "images" instead of image_tag . Nothing works.

Additional Information:

  • Rails Version 3.1.0

Already looked and tried:

+4
source share
1 answer

The recent Railscast Episode # 282 covered switching assets from 3.0 to 3.1 with an asset pipeline. Have you tried setting config.assets.digest = true in config / environment / production.rb?

+7
source

All Articles