首页 文章

Rails应用程序不适用于apache2和乘客

提问于
浏览
0

使用apache2无法使我的rails 2.3.5应用程序正常工作 . 在apache错误日志中,我得到以下内容:

/usr/lib/phusion_passenger/passenger-spawn-server:53:in `require': no such file to load -- phusion_passenger/utils (LoadError)
from /usr/lib/phusion_passenger/passenger-spawn-server:53
[ pid=9437 file=ext/apache2/Hooks.cpp:727 time=2012-04-02 20:04:49.923 ]:
Unexpected error in mod_passenger: Cannot spawn application '/home/user/projects/pname/trunk': The spawn server has exited unexpectedly.
  Backtrace:
     (empty)

我试图重新安装乘客,阿帕奇,但这没有帮助 . 我应该怎么做才能启动应用程序?我如何让灵魂乘客上班?

1 回答

  • 0

    从错误中,我想你没有安装一些宝石/组件 .

    按照官方文档一步一步完成,您将完成:http://www.modrails.com/install.html

    附:从这篇文章:http://markmail.org/message/pyikfcnn3nczhoiz,你安装了2个版本的ruby?

    这是一个同时拥有ruby和ruby企业版的问题 . 我删除了前者,再次安装了phusion乘客并且它工作了 .

相关问题