Skip to content

Instantly share code, notes, and snippets.

@jkeck
Created January 13, 2012 21:51
Show Gist options
  • Save jkeck/1608894 to your computer and use it in GitHub Desktop.
Save jkeck/1608894 to your computer and use it in GitHub Desktop.
Loading development environment (Rails 3.1.1)
ruby-1.8.7-p334 :001 > CatalogController.new
NameError: undefined local variable or method `blacklight_config' for nil:NilClass
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/whiny_nil.rb:48:in `method_missing'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/app/helpers/blacklight/blacklight_helper_behavior.rb:97:in `index_fields'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/app/helpers/blacklight/blacklight_helper_behavior.rb:97:in `index_fields'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/utils.rb:11:in `send'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/utils.rb:11:in `[]'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configuration.rb:44:in `initialize_default_values!'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configuration.rb:43:in `each'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configuration.rb:43:in `initialize_default_values!'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configuration.rb:35:in `initialize'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configurable.rb:54:in `new'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configurable.rb:54:in `default_configuration'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configurable.rb:48:in `default_configuration'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configurable.rb:31:in `blacklight_config'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configurable.rb:41:in `configure_blacklight'
from /Applications/eclipse/workbench/searchworks/app/controllers/catalog_controller.rb:4
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:456:in `load'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:456:in `load_file'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640:in `new_constants_in'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:455:in `load_file'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:342:in `require_or_load'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:489:in `load_missing_constant'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:181:in `const_missing'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:179:in `each'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:179:in `const_missing'
from (irb):1ruby-1.8.7-p334 :002 > CatalogController.blacklight_config
NameError: undefined local variable or method `blacklight_config' for nil:NilClass
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/whiny_nil.rb:48:in `method_missing'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/app/helpers/blacklight/blacklight_helper_behavior.rb:97:in `index_fields'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/app/helpers/blacklight/blacklight_helper_behavior.rb:97:in `index_fields'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/utils.rb:11:in `send'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/utils.rb:11:in `[]'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configuration.rb:44:in `initialize_default_values!'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configuration.rb:43:in `each'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configuration.rb:43:in `initialize_default_values!'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configuration.rb:35:in `initialize'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configurable.rb:54:in `new'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configurable.rb:54:in `default_configuration'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configurable.rb:48:in `default_configuration'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configurable.rb:31:in `blacklight_config'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configurable.rb:41:in `configure_blacklight'
from /Applications/eclipse/workbench/searchworks/app/controllers/catalog_controller.rb:4
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:456:in `load'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:456:in `load_file'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640:in `new_constants_in'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:455:in `load_file'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:342:in `require_or_load'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:489:in `load_missing_constant'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:181:in `const_missing'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:179:in `each'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:179:in `const_missing'
from (irb):2ruby-1.8.7-p334 :003 > CatalogController.default_configuration
NameError: undefined local variable or method `blacklight_config' for nil:NilClass
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/whiny_nil.rb:48:in `method_missing'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/app/helpers/blacklight/blacklight_helper_behavior.rb:97:in `index_fields'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/app/helpers/blacklight/blacklight_helper_behavior.rb:97:in `index_fields'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/utils.rb:11:in `send'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/utils.rb:11:in `[]'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configuration.rb:44:in `initialize_default_values!'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configuration.rb:43:in `each'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configuration.rb:43:in `initialize_default_values!'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configuration.rb:35:in `initialize'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configurable.rb:54:in `new'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configurable.rb:54:in `default_configuration'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configurable.rb:48:in `default_configuration'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configurable.rb:31:in `blacklight_config'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/blacklight-3.2.1/lib/blacklight/configurable.rb:41:in `configure_blacklight'
from /Applications/eclipse/workbench/searchworks/app/controllers/catalog_controller.rb:4
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:456:in `load'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:456:in `load_file'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640:in `new_constants_in'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:455:in `load_file'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:342:in `require_or_load'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:489:in `load_missing_constant'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:181:in `const_missing'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:179:in `each'
from /Users/jkeck/.rvm/gems/ruby-1.8.7-p334@searchworks_rails3/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:179:in `const_missing'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment