16

当我在 RubyMine 中启动我的应用程序时,我希望能够使用 unicorn 和我的 unicorn 配置。有没有办法告诉它不要使用 webrick,而是使用其他东西,比如 unicorn 或 thin?

4

2 回答 2

18

最近的 RubyMine 版本允许在 Rails 运行/调试配置中指定要使用的 Web 服务器:

服务器选择

于 2011-02-11T22:23:56.260 回答
1

有 2 个服务器 1.webric & 2.mongrel

按照以下步骤使用 mongrel 服务器而不是 webric ...

(1) 进入cmd

(2) 进入应用路径。

(3) 写下这段代码“mongrel_rails start”

于 2011-04-01T12:39:35.500 回答