Rails 3.1 Deploy to Production (with Apache & Passenger) Asset Problems
Rails 3.1 has changed the way it handles the asset pipeline and it is causing issues when deploying to production. I am using Apache and Passenger, which seem to work fine. My production is setup like this (for now). # congif/environments/production.rb config.cache_classes = false config.consider_all_requests_local = true config.action_controller.perform_caching = true config.serve_static_assets = false config.assets.compress = true config.assets.compile = false config.assets.digest = true config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache I run rake assets:precompile on