Starting a Thin cluster on Windows

你离开我真会死。 提交于 2019-12-23 05:25:11

问题


I have a ruby app on my machine that I'm trying to deploy with a batch script. I've got everything up to the server handled. This is what I'm using:

cd to/path/of/app
thin start -p 3001

This works.

cd to/path/of/app
thin start --servers 3 

As per http://code.macournoyer.com/thin/usage/, does not work. I get an error "lib/thin/runner.rb:142:in 'parse!': invalid option: --servers"

Any idea why this isn't working?


回答1:


On line 88 in lib/thin/runner.rb it says # Daemonizing not supported on Windows :(



来源:https://stackoverflow.com/questions/10094239/starting-a-thin-cluster-on-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!