CSS files, JavaScript files and images not rendering in production server
When I start my server in the production environment, my CSS files, Javascript files, and images are not showing up. I开发者_开发知识库`m using Webrick for my production server and Rails 3.0.3.
Try this:
config.serve_static_assets = true
in your rails_app_path/config/environments/production.rb.
精彩评论