My problem: All images aren't loaded correctly when I start my app in production mode. I see only a placeholder for the image. When I copy the image-url I get "assets/mylogo.png". I miss the fingerprint.
My config:
Gems:
rails 3.1.0
compass, :git => 'git://github.com/chriseppstein/compass.git'
sprockets 2.0.2
config/application.rb :
config.assets.enabled = true
config/environments/production.rb :
config.cache_classes = true
config.consider_all_requests_local = false
config.action_controller.perform_caching = true
config.serve_static_assets = false
config.assets.compress = true
After the deploy I run
rake assets:clean
rake assets:precompile
In the public/assets folder are all images (and js, css files) with the fingerprint at the end.
In development mode everything works fine. I can't figure out why the images aren't correctly used.