开发者

While using refinery ruby (Rack) application could not be started

I just instal开发者_StackOverflowled a new rails 3 application on ruby 1.9.2 for the first time using Refinery CMS. Everything went well using refinerycms to install the application, but passenger is having issues with the application. Passenger says Rack can not start gives me error: "No such middleware to insert after: ActionDispatch::Static"

I am running several other rails applications on my server using passenger without trouble; although none of those applications are using refinerycms.

Help much appreciated as this is a project in a class I'm taking and have very limited time to complete the scope of this project, would be awesome to get started.


In your config/environments/production.rb file you have to specify:

config.serve_static_assets = true

This enables ActionDispatch::Static and is a requirement of Refinery CMS.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜