Rails应用程序不符合的Apache2和客运工作 [英] Rails application doesn't work with apache2 and passenger
问题描述
不能让我的滑轨2.3.5应用程序使用的Apache2正常工作。在Apache的错误日志我得到以下内容:
Can't make my rails 2.3.5 application work correctly with apache2. In apache errors log i get the following:
/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)
我试着重新安装乘客,阿帕奇但这并没有帮助。我应该怎么做来启动应用程序?我怎样才能获得的Phusion乘客上班?
I've tried to reinstall passenger, apache but that didn't help. What should i do to start the application? How can i get phusion-passenger to work?
推荐答案
这是错误的,我想你还没有安装一些宝石/组件。
from the error, I suppose you haven't installed some gems/components.
请按照一步公文一步,你会完成它: HTTP://www.modrails .COM / 的Install.html
Follow the official document step by step, and you will make it done: http://www.modrails.com/install.html
P.S。从这篇文章: http://markmail.org/message/pyikfcnn3nczhoiz ,你安装了2个版本的红宝石?
p.s. from this post: http://markmail.org/message/pyikfcnn3nczhoiz, did you installed 2 versions of ruby?
这是同时具有红宝石和红宝石企业版的问题。我
再次去除前,安装的Phusion客运和它的工作。
It was a problem of having both ruby and ruby enterprise edition. I removed the former, installed phusion passenger again and it worked.
这篇关于Rails应用程序不符合的Apache2和客运工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!