This is happening way earlier than Hobo loads - note that the error comes from within the load_rails_gem part, so there's clearly a serious problem with the rubygems install. My first suspect would be that the Ruby install is hosed somehow, as you've got Passenger loading (way down in the trace) from /usr/lib/ruby/gems, but the rubygems.rb file is in /usr/local/lib/site_ruby/1.8 (which is typically /usr/local/lib/ruby/site_ruby/1.8 - note the missing 'ruby' directory...)
Hope this helps - you may also want to try the main rails-talk list for help. --Matt Jones On Dec 6, 2009, at 3:23 PM, Edward Samokhvalov wrote: > Dear All! > > I've set up my apache, passenger and configs, the passenger works, but > the app can't be started. the erros are the following > > Error message: > No such file or directory - /nonexistent > Exception class: > Errno::ENOENT > Application root: > /home/es-server/employee_status > > Backtrace: > # File Line Location > 0 /usr/local/lib/site_ruby/1.8/rubygems.rb 723 in `initialize' > 1 /usr/local/lib/site_ruby/1.8/rubygems.rb 723 in `new' > 2 /usr/local/lib/site_ruby/1.8/rubygems.rb 723 in `set_paths' > 3 /usr/local/lib/site_ruby/1.8/rubygems.rb 719 in `each' > 4 /usr/local/lib/site_ruby/1.8/rubygems.rb 719 in `set_paths' > 5 /usr/local/lib/site_ruby/1.8/rubygems.rb 526 in `path' > 6 /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb 66 in > `installed_spec_directories' > 7 /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb 56 in > `from_installed_gems' > 8 /usr/local/lib/site_ruby/1.8/rubygems.rb 736 in > `source_index' > 9 /usr/local/lib/site_ruby/1.8/rubygems.rb 140 in `activate' > 10 /usr/local/lib/site_ruby/1.8/rubygems.rb 49 in `gem' > 11 /home/es-server/employee_status/config/boot.rb 60 in > `load_rails_gem' > 12 /home/es-server/employee_status/config/boot.rb 54 in > `load_initializer' > 13 /home/es-server/employee_status/config/boot.rb 38 in `run' > 14 /home/es-server/employee_status/config/boot.rb 11 in > `boot!' > 15 /home/es-server/employee_status/config/boot.rb 110 > 16 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb > 31 > in `gem_original_require' > 17 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb > 31 > in `require' > 18 /home/es-server/employee_status/config/environment.rb 7 > 19 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb > 31 > in `gem_original_require' > 20 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb > 31 > in `require' > 21 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/ > phusion_passenger/railz/application_spawner.rb 299 in > `preload_application' > 22 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/ > phusion_passenger/railz/application_spawner.rb 248 in > `initialize_server' > 23 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/ > phusion_passenger/utils.rb 255 in `report_app_init_status' > 24 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/ > phusion_passenger/railz/application_spawner.rb 233 in > `initialize_server' > 25 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/ > phusion_passenger/abstract_server.rb 194 in `start_synchronously' > 26 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/ > phusion_passenger/abstract_server.rb 163 in `start' > 27 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/ > phusion_passenger/railz/application_spawner.rb 209 in `start' > 28 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/ > phusion_passenger/spawn_manager.rb 262 in `spawn_rails_application' > 29 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/ > phusion_passenger/abstract_server_collection.rb 126 in > `lookup_or_add' > 30 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/ > phusion_passenger/spawn_manager.rb 256 in `spawn_rails_application' > 31 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/ > phusion_passenger/abstract_server_collection.rb 80 in `synchronize' > 32 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/ > phusion_passenger/abstract_server_collection.rb 79 in `synchronize' > 33 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/ > phusion_passenger/spawn_manager.rb 255 in `spawn_rails_application' > 34 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/ > phusion_passenger/spawn_manager.rb 154 in `spawn_application' > 35 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/ > phusion_passenger/spawn_manager.rb 287 in `handle_spawn_application' > 36 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/ > phusion_passenger/abstract_server.rb 352 in `__send__' > 37 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/ > phusion_passenger/abstract_server.rb 352 in `main_loop' > 38 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.7/lib/ > phusion_passenger/abstract_server.rb 196 in `start_synchronously' > 39 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.7/bin/passenger- > spawn-server 61 > > Please help. > > thx in advance. > > -- > > You received this message because you are subscribed to the Google > Groups "Hobo Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] > . > For more options, visit this group at > http://groups.google.com/group/hobousers?hl=en > . > > -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
