开发者

RoR Server won't detach with -d option

I had to 开发者_如何学编程reinstall a bunch of my port installs the other day and now when I launch my RoR server with "ruby script/server -d -p 3000" the server wont work. I am not seeing any errors in the logs. If I start it with "ruby script/server -p 3000" it works fine.

Any ideas of what I might have uninstalled that would cause this behavior?


I tried upgrading rack and still no luck.

This command worked for me.

mongrel_rails start -e production -d


The -d option runs servers in daemon mode. Mongrel allows for this. Odds are, you uninstalled it.


There is a bug in rake 1.1.0 causing this. Try to upgrade to rack 1.3.0. I know this one is not affected.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜