Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined method `inherit' for nil:NilClass (NoMethodError) #14

Open
mattbeedle opened this issue Dec 27, 2009 · 0 comments
Open

undefined method `inherit' for nil:NilClass (NoMethodError) #14

mattbeedle opened this issue Dec 27, 2009 · 0 comments

Comments

@mattbeedle
Copy link

After installing cache_money I am unable to start my server. I see the following error:

undefined method `inherit' for nil:NilClass (NoMethodError)

If it helps at all, it seems to be failing on STI models. I'm using rails 2.3.5 and postgresql 8.3.

And here's the stack trace.

0 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/whiny_nil.rb 52 in method_missing' 1 /usr/lib/ruby/gems/1.8/gems/cache-money-0.2.5/lib/cash/config.rb 21 ininherited'
2 /home/matt/Websites/1000jobboards.com/app/models/boards/monster_com_board.rb 5
3 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb 380 in load_without_new_constant_marking' 4 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb 380 inload_file'
5 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb 521 in new_constants_in' 6 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb 379 inload_file'
7 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb 259 in require_or_load' 8 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb 425 inload_missing_constant'
9 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb 80 in rake_original_const_missing' 10 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb 2503 inconst_missing'
11 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb 92 in const_missing' 12 /home/matt/Websites/1000jobboards.com/test/factories.rb 119 13 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb 31 ingem_original_require'
14 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb 31 in polyglot_original_require' 15 /usr/lib/ruby/gems/1.8/gems/polyglot-0.2.9/lib/polyglot.rb 70 inrequire'
16 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb 156 in require' 17 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb 521 innew_constants_in'
18 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb 156 in require' 19 /usr/lib/ruby/gems/1.8/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/factory.rb 273 infind_definitions'
20 /usr/lib/ruby/gems/1.8/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/factory.rb 272 in each' 21 /usr/lib/ruby/gems/1.8/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/factory.rb 272 infind_definitions'
22 /usr/lib/ruby/gems/1.8/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl.rb 29
23 /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb 614 in call' 24 /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb 614 inafter_initialize'
25 /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb 613 in each' 26 /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb 613 inafter_initialize'
27 /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb 179 in process' 28 /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb 113 insend'
29 /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb 113 in run' 30 /home/matt/Websites/1000jobboards.com/config/environment.rb 15 31 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb 31 ingem_original_require'
32 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb 31 in require' 33 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/railz/application_spawner.rb 303 inpreload_application'
34 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/railz/application_spawner.rb 252 in initialize_server' 35 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/utils.rb 254 inreport_app_init_status'
36 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/railz/application_spawner.rb 237 in initialize_server' 37 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb 194 instart_synchronously'
38 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb 163 in start' 39 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/railz/application_spawner.rb 213 instart'
40 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb 262 in spawn_rails_application' 41 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server_collection.rb 126 inlookup_or_add'
42 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb 256 in spawn_rails_application' 43 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server_collection.rb 80 insynchronize'
44 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server_collection.rb 79 in synchronize' 45 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb 255 inspawn_rails_application'
46 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb 154 in spawn_application' 47 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb 287 inhandle_spawn_application'
48 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb 352 in __send__' 49 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb 352 inmain_loop'
50 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb 196 in `start_synchronously'
51 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/bin/passenger-spawn-server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant