任何帮助将不胜感激。我正在尝试在我的服务器上运行基本的 Rails 应用程序。
我正在运行 Ubuntu 和 nginx。理想情况下,我希望能够仍然运行 php 应用程序,所以 nginx+Phusion 似乎是要走的路。
缺少应用程序所需的源文件。您可能没有正确上传您的应用程序文件。请检查您的所有申请文件是否已上传。可能未安装所需的库。请安装此应用程序所需的所有库。有关错误的更多信息可能已写入应用程序的日志文件。请检查它以便分析问题。
错误消息:没有要加载的文件--bundler
异常类:LoadError
0 /usr/lib/ruby/1.8/rubygems/custom_require.rb 31 在
gem_original_require' 1 /usr/lib/ruby/1.8/rubygems/custom_require.rb 31 in
require' 2 /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/utils.rb 325 在prepare_app_process' 3 /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/rack/application_spawner.rb 156 in
initialize_server' 4 / var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/utils.rb 563 inreport_app_init_status' 5 /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/rack/application_spawner.rb 154 in
initialize_server' 6 /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server .rb 204 在start_synchronously' 7 /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server.rb 180 in
开始' 8 /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/rack/application_spawner.rb 129 在start' 9 /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/spawn_manager.rb 253 in
spawn_rack_application' 10 /var/lib/gems/1.8/gems/passenger -3.0.19/lib/phusion_passenger/abstract_server_collection.rb 132 在lookup_or_add' 11 /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/spawn_manager.rb 246 in
spawn_rack_application' 12 /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server_collection.rb 82 在synchronize' 13 /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server_collection.rb 79 in
同步' 14 /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/spawn_manager.rb 244 在spawn_rack_application' 15 /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/spawn_manager.rb 137 in
spawn_application' 16 /var/lib/gems/1.8/gems/passenger-3.0.19/lib /phusion_passenger/spawn_manager.rb 275 在handle_spawn_application' 17 /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server.rb 357 in
发送'18 /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server.rb 357 在server_main_loop' 19 /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server.rb 206 in
start_synchronously'20 /var/lib/gems/1.8/gems /passenger-3.0.19/helper-scripts/passenger-spawn-server 99