ruby-on-rails – Rails 3 Passenger:机架错误

我收到以下错误,几天前自发弹出并崩溃了我的网站.我在带有Passenger的Dreamhost机器上使用 Ruby 1.8.7,Rails 3.0.0.有关同一问题的其他说明,请参见 this cached page.

Ruby (Rack) application Could not be started.

A source file that the application requires,is missing.

It is possible that you didn't upload your application files correctly. Please check whether all your application files are uploaded.
A required library may not installed. Please install all libraries that this application requires.

Error message:
no such file to load -- rack
Exception class:
LoadError
Application root:
[omitted]
Backtrace:
#   File    Line    Location
0   /usr/lib/ruby/1.8/rubygems/custom_require.rb    31  in `gem_original_require'
1   /usr/lib/ruby/1.8/rubygems/custom_require.rb    31  in `require'
2   /dh/passenger/lib/phusion_passenger/rack/application_spawner.rb 139 in `load_rack_app'
3   /dh/passenger/lib/phusion_passenger/rack/application_spawner.rb 100 in `run'
4   /dh/passenger/lib/phusion_passenger/utils.rb    255 in `report_app_init_status'
5   /dh/passenger/lib/phusion_passenger/rack/application_spawner.rb 87  in `run'
6   /dh/passenger/lib/phusion_passenger/rack/application_spawner.rb 65  in `spawn_application'
7   /dh/passenger/lib/phusion_passenger/utils.rb    184 in `safe_fork'
8   /dh/passenger/lib/phusion_passenger/rack/application_spawner.rb 58  in `spawn_application'
9   /dh/passenger/lib/phusion_passenger/rack/application_spawner.rb 41  in `spawn_application'
10  /dh/passenger/lib/phusion_passenger/spawn_manager.rb    159 in `spawn_application'
11  /dh/passenger/lib/phusion_passenger/spawn_manager.rb    287 in `handle_spawn_application'
12  /dh/passenger/lib/phusion_passenger/abstract_server.rb  352 in `__send__'
13  /dh/passenger/lib/phusion_passenger/abstract_server.rb  352 in `main_loop'
14  /dh/passenger/lib/phusion_passenger/abstract_server.rb  196 in `start_synchronously'
15  /dh/passenger/bin/passenger-spawn-server    61

解决方法

我对Dreamhost / Passenger / Rails也有同样的问题.我发送支持请求并收到以下回复.我的网站现在也正常运行.

感谢您联系技术支持.我为这个问题道歉.服务器最近升级到了Debian,并对你的安装进行了一些升级.由于需要重新安装一些宝石,我继续纠正了网站的错误.

我为这个问题道歉.如果我还能为您做些什么,请告诉我,祝您有个美好的一天.

相关文章

validates:conclusion,:presence=>true,:inclusion=>{...
一、redis集群搭建redis3.0以前,提供了Sentinel工具来监控各...
分享一下我老师大神的人工智能教程。零基础!通俗易懂!风趣...
上一篇博文 ruby传参之引用类型 里边定义了一个方法名 mo...
一编程与编程语言 什么是编程语言? 能够被计算机所识别的表...
Ruby类和对象Ruby是一种完美的面向对象编程语言。面向对象编...