Passenger Error Message I Can't Understand

I am testing Rails 3 on DreamHost, which has just installed Rails 3. I created a simple controller and it failed.

The browser displays error 500 (Internal server error), and the following message is displayed in the log.

Could not find i18n-0.5.0 in any of the sources Try running `bundle install`. *** Exception EOFError in spawn manager (Unexpected end-of-file detected.) (process 17951): from /dh/passenger/lib/phusion_passenger/utils.rb:306:in `unmarshal_and_raise_errors' from /dh/passenger/lib/phusion_passenger/rack/application_spawner.rb:71:in `spawn_application' from /dh/passenger/lib/phusion_passenger/rack/application_spawner.rb:41:in `spawn_application' from /dh/passenger/lib/phusion_passenger/spawn_manager.rb:159:in `spawn_application' from /dh/passenger/lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application' from /dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `__send__' from /dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `main_loop' from /dh/passenger/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously' from /dh/passenger/bin/passenger-spawn-server:61 [ pid=13245 file=ext/apache2/Hooks.cpp:727 time=2010-12-24 12:13:38.287 ]: Unexpected error in mod_passenger: Cannot spawn application '/home/cp_rails3/sites/rails3.codepremise.com': The spawn server has exited unexpectedly. Backtrace: in 'virtual boost::shared_ptr<Passenger::Application::Session> Passenger::ApplicationPoolServer::Client::get(const Passenger::PoolOptions&)' (ApplicationPoolServer.h:471) in 'int Hooks::handleRequest(request_rec*)' (Hooks.cpp:523) 

It works fine in the console (app.get "url") and also works with the rails server.

What's wrong?

Thanks.

Sam

+4
source share
3 answers

Oh, I had this problem on my MacBook! Perhaps you need to reinstall i18n and make sure you have the correct version for your architecture and the new versions of Ruby and Rails if you recently moved away from Rails 2. i18n ("eye-one-eight-en" not "eye-el -eight-en ") is an internationalization library.

If you use RVM, make sure that i18n is included in the gemset that you are currently using.

https://github.com/svenfuchs/i18n

+2
source

Have you tried running bundle install ?

0
source

You need to find out what is going on in the backend, but not to guess.

log is your friend, the passenger check-in folder, and you will get some tips.

 # passenger_installed_folder is usually: /opt/nginx or /usr/local/nginx $ tail <passenger_installed_folder>/logs/error.log 
0
source

Source: https://habr.com/ru/post/1333309/


All Articles