问题
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