2012-04-10 66 views
0

我在我的机器上有一个红宝石应用程序,我试图用批处理脚本进行部署。我已经把所有的东西都交给了处理的服务器。这就是我正在使用的:在Windows上启动瘦集群

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

This works。

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

根据http://code.macournoyer.com/thin/usage/,不起作用。我得到一个错误“lib/thin/runner.rb:142:in'parse!':无效的选项:--servers”

任何想法,为什么这不工作?

回答

0

在线88 lib/thin/runner.rb它说# Daemonizing not supported on Windows :(

+0

啊,我应该看着那里。无赖交易。任何想法我如何能得到多个实例起来作为批处理脚本的一部分? – RobVious 2012-04-10 21:04:31