2

我无法启动我的服务器。收到此错误:

  Restarting nginx: nginx: [alert] Unable to start the Phusion Passenger watchdog because its executable (/usr/local/rvm/gems/ruby-2.0.0-p0/gems/passenger-4.0.0.rc4/agents/PassengerWatchdog) does not exist. This probably means that your Phusion Passenger installation is broken or incomplete, or that your 'passenger_root' directive is set to the wrong value. Please reinstall Phusion Passenger or fix your 'passenger_root' directive, whichever is applicable. (-1: Unknown error)

实际上,我的 rvm list o/p 是

rvm rubies

=> ruby-1.9.3-p448 [ i686 ]
* ruby-2.0.0-p0 [ i686 ]

# => - current
# =* - current && default
#  * - default

对于当前的应用程序,我使用的是 ruby​​ 1.9.3 和 rails 3.2.12。但是如果 ruby​​-1.9.3 我的乘客正在服用 ruby​​-2.0.0-p0

任何人都可以在这里帮助我。我的服务器宕机了:-(

4

1 回答 1

0

乘客获取您在文件 nginx.conf 中设置的内容passenger_ruby,例如:

passenger_root /home/dev/.rvm/gems/ruby-1.9.3-p448/gems/passenger-4.0.5;
passenger_ruby /home/dev/.rvm/wrappers/ruby-1.9.3-p448/ruby;
于 2013-10-22T05:36:25.060 回答