Ruby on Rails
Wednesday, January 29, 2014
On Monday, January 27, 2014 8:16:06 PM UTC, Marcus Vinicius wrote:
[ pid=11873 thr=69923239138300 file=utils.rb:176 time=2014-01-27 20:00:04.706 ]: *** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner (cannot load such file -- bundler) (process 11873, thread #<Thread:0x007f308ba927f8>): from /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/ kernel_require.rb:55:in `require' from /usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/ kernel_require.rb:55:in `require' from /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/lib/ phusion_passenger/utils.rb: 325:in `prepare_app_process'
This bit of your stack trace is concerning - it seems to indicate that your app is running in an environment that is part ruby 1.8, part ruby 2.1. Did you reinstall the passenger gem and the corresponding apache/nginx module after you installed 2.1.0? Is the snippet in your apache/nginx config pointing at the correct ruby install?
Fred
from /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/lib/ phusion_passenger/rack/ application_spawner.rb:156:in `block in initialize_server' from /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/lib/ phusion_passenger/utils.rb: 563:in `report_app_init_status' from /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/lib/ phusion_passenger/rack/ application_spawner.rb:154:in `initialize_server' from /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/lib/ phusion_passenger/abstract_ server.rb:204:in `start_synchronously' from /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/lib/ phusion_passenger/abstract_ server.rb:180:in `start' from /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/lib/ phusion_passenger/rack/ application_spawner.rb:129:in `start' from /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/lib/ phusion_passenger/spawn_ manager.rb:253:in `block (2 levels) in spawn_rack_application' from /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/lib/ phusion_passenger/abstract_ server_collection.rb:132:in `lookup_or_add' from /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/lib/ phusion_passenger/spawn_ manager.rb:246:in `block in spawn_rack_application' from /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/lib/ phusion_passenger/abstract_ server_collection.rb:82:in `block in synchronize' from /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/lib/ phusion_passenger/abstract_ server_collection.rb:79:in `synchronize' from /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/lib/ phusion_passenger/abstract_ server_collection.rb:79:in `synchronize' from /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/lib/ phusion_passenger/spawn_ manager.rb:244:in `spawn_rack_application' from /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/lib/ phusion_passenger/spawn_ manager.rb:137:in `spawn_application' from /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/lib/ phusion_passenger/spawn_ manager.rb:275:in `handle_spawn_application' from /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/lib/ phusion_passenger/abstract_ server.rb:357:in `server_main_loop' from /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/lib/ phusion_passenger/abstract_ server.rb:206:in `start_synchronously' from /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.19/helper- scripts/passenger-spawn- server:99:in `<main>' The app link is:ruby -v
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]
rails -v
Rails 4.0.1
bundle -v
Bundler version 1.5.2
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/fbfd383d-ad1b-47ad-aaae-36a2a5e841da%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment