开发者

Rails 3 start mongrel with --prefix option

I know that mongrel is not compatible with Rails 3. So I can开发者_JS百科't run mongrel_rails start in Rails 3. If I do so, i will get dispather error. I have to make mongrel the default server and do

script/rails server -p 3001

Then it works. However, my question is that mongrel has other options like --prefix, how do i make mongrel knows about this option under script/rails? I try to use

script/rails server -p 3001 --prefix /my_app

This doesn't work as --prefix is not a known conf to script/rails server. Anybody has any idea? Thanks a lot.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜