【问题标题】:Starting a Thin cluster on Windows在 Windows 上启动精简集群
【发布时间】:2012-04-10 18:19:46
【问题描述】:

我的机器上有一个 ruby​​ 应用程序,我正在尝试使用批处理脚本进行部署。我已经把所有事情都交给服务器处理了。这就是我正在使用的:

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

这行得通。

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

根据http://code.macournoyer.com/thin/usage/,不起作用。我收到一个错误“lib/thin/runner.rb:142:in 'parse!': invalid option: --servers”

知道为什么这不起作用吗?

【问题讨论】:

    标签: ruby-on-rails ruby apache bundler thin


    【解决方案1】:

    lib/thin/runner.rb 的第 88 行显示# Daemonizing not supported on Windows :(

    【讨论】:

    • 啊,我应该去那里看看。糟糕的交易。知道如何将多个实例作为批处理脚本的一部分吗?
    猜你喜欢
    • 2015-10-12
    • 1970-01-01
    • 2015-10-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-07-24
    • 1970-01-01
    相关资源
    最近更新 更多