Senthil
2010-May-31 00:14 UTC
no such file to load -- /home/path/to/app/config/environment
I looked at the permissions, it is set to username:group - the same settings which work for another app. Btw, this is running Rails 2.1.something (Its a friends website deployed a while back, just helping him out.) Thanks Full stack msg: no such file to load -- /home/path/to/app/config/environment /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ dependencies.rb:510:in `require'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ dependencies.rb:355:in `new_constants_in'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ dependencies.rb:510:in `require'' /home/app/helpers/spec_helper.rb:2 /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ dependencies.rb:216:in `load_without_new_constant_marking'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ dependencies.rb:216:in `load_file'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ dependencies.rb:355:in `new_constants_in'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ dependencies.rb:215:in `load_file'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ dependencies.rb:96:in `require_or_load'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ dependencies.rb:61:in `depend_on'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ dependencies.rb:457:in `require_dependency'' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ helpers.rb:122:in `helper'' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ helpers.rb:111:in `each'' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ helpers.rb:111:in `helper'' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ helpers.rb:116:in `helper'' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ helpers.rb:111:in `each'' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ helpers.rb:111:in `helper'' /home/app/controllers/application.rb:5 /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ dependencies.rb:216:in `load_without_new_constant_marking'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ dependencies.rb:216:in `load_file'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ dependencies.rb:355:in `new_constants_in'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ dependencies.rb:215:in `load_file'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ dependencies.rb:96:in `require_or_load'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ dependencies.rb:61:in `depend_on'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ dependencies.rb:457:in `require_dependency'' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/ dispatcher.rb:18:in `define_dispatcher_callbacks'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ callbacks.rb:177:in `call'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ callbacks.rb:177:in `evaluate_method'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ callbacks.rb:161:in `call'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ callbacks.rb:90:in `run'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ callbacks.rb:90:in `each'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ callbacks.rb:90:in `send'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ callbacks.rb:90:in `run'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ callbacks.rb:272:in `run_callbacks'' /usr/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/initializer.rb:493:in `send'' /usr/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/initializer.rb:493:in `prepare_dispatcher'' /usr/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/initializer.rb:155:in `process'' /usr/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/initializer.rb:97:in `send'' /usr/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/initializer.rb:97:in `run'' /home/config/environment.rb:13 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ dependencies.rb:510:in `require'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ dependencies.rb:355:in `new_constants_in'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/ dependencies.rb:510:in `require'' /usr/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/tasks/misc.rake:3 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/bin/rake:19:in `load'' /usr/bin/rake:19 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.