We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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
method_missing' 1 /usr/lib/ruby/gems/1.8/gems/cache-money-0.2.5/lib/cash/config.rb 21 in
load_without_new_constant_marking' 4 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb 380 in
new_constants_in' 6 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb 379 in
require_or_load' 8 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb 425 in
rake_original_const_missing' 10 /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb 2503 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 in
polyglot_original_require' 15 /usr/lib/ruby/gems/1.8/gems/polyglot-0.2.9/lib/polyglot.rb 70 in
require' 17 /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb 521 in
require' 19 /usr/lib/ruby/gems/1.8/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/factory.rb 273 in
each' 21 /usr/lib/ruby/gems/1.8/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl/factory.rb 272 in
call' 24 /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb 614 in
each' 26 /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb 613 in
process' 28 /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 in
require' 33 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/railz/application_spawner.rb 303 in
initialize_server' 35 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/utils.rb 254 in
initialize_server' 37 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb 194 in
start' 39 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/railz/application_spawner.rb 213 in
spawn_rails_application' 41 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server_collection.rb 126 in
spawn_rails_application' 43 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server_collection.rb 80 in
synchronize' 45 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb 255 in
spawn_application' 47 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb 287 in
__send__' 49 /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb 352 in
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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 in
inherited'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 in
load_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 in
load_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 in
load_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 in
const_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 in
gem_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 in
require'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 in
new_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 in
find_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 in
find_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 in
after_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 in
after_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 in
send'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 in
gem_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 in
preload_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 in
report_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 in
start_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 in
start'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 in
lookup_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 in
synchronize'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 in
spawn_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 in
handle_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 in
main_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
The text was updated successfully, but these errors were encountered: