开发者

Running rails 3 in production mode

I am having issues running my rails 3 project in production mode.

I am getting tons of routing errors, and they are all in the public folder, images, stylesheets and javascript. No 开发者_开发知识库other resources seem to have this problem.

Everything works fine in development and test.


In production.rb file change the following from false to true

config.serve_static_assets = true
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜