开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜