我收到以下错误,几天前自发弹出并崩溃了我的网站.我在带有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
解决方法
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。