Skip to content

Instantly share code, notes, and snippets.

@ruprict
Last active December 28, 2015 11:09
Show Gist options
  • Save ruprict/7491301 to your computer and use it in GitHub Desktop.
Save ruprict/7491301 to your computer and use it in GitHub Desktop.
TorqueBox configure issue
NoMethodError: undefined method `[]' for nil:NilClass
local_config at /Users/ggoodrich/.rvm/gems/jruby-1.7.6@kyck_registrar_web/gems/torquebox-configure-3.0.0-java/lib/torquebox/configuration.rb:129
finalize_options at /Users/ggoodrich/.rvm/gems/jruby-1.7.6@kyck_registrar_web/gems/torquebox-configure-3.0.0-java/lib/torquebox/configuration.rb:122
process at /Users/ggoodrich/.rvm/gems/jruby-1.7.6@kyck_registrar_web/gems/torquebox-configure-3.0.0-java/lib/torquebox/configuration.rb:64
configure at /Users/ggoodrich/.rvm/gems/jruby-1.7.6@kyck_registrar_web/gems/torquebox-configure-3.0.0-java/lib/torquebox/configure.rb:27
(root) at /Users/ggoodrich/projects/kyck/kyck_registrar_web/config/initializers/torquebox.rb:4
load at org/jruby/RubyKernel.java:1101
(root) at /Users/ggoodrich/.rvm/gems/jruby-1.7.6@kyck_registrar_web/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:1
load_dependency at /Users/ggoodrich/.rvm/gems/jruby-1.7.6@kyck_registrar_web/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236
load at /Users/ggoodrich/.rvm/gems/jruby-1.7.6@kyck_registrar_web/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:245
load at /Users/ggoodrich/.rvm/gems/jruby-1.7.6@kyck_registrar_web/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:245
each at org/jruby/RubyArray.java:1613
Engine at /Users/ggoodrich/.rvm/gems/jruby-1.7.6@kyck_registrar_web/gems/railties-3.2.12/lib/rails/engine.rb:588
instance_exec at org/jruby/RubyBasicObject.java:1565
run at /Users/ggoodrich/.rvm/gems/jruby-1.7.6@kyck_registrar_web/gems/railties-3.2.12/lib/rails/initializable.rb:30
Engine at /Users/ggoodrich/.rvm/gems/jruby-1.7.6@kyck_registrar_web/gems/railties-3.2.12/lib/rails/engine.rb:587
each at org/jruby/RubyArray.java:1613
run_initializers at /Users/ggoodrich/.rvm/gems/jruby-1.7.6@kyck_registrar_web/gems/railties-3.2.12/lib/rails/initializable.rb:55
run_initializers at /Users/ggoodrich/.rvm/gems/jruby-1.7.6@kyck_registrar_web/gems/railties-3.2.12/lib/rails/initializable.rb:54
initialize! at /Users/ggoodrich/.rvm/gems/jruby-1.7.6@kyck_registrar_web/gems/railties-3.2.12/lib/rails/application.rb:136
method_missing at /Users/ggoodrich/.rvm/gems/jruby-1.7.6@kyck_registrar_web/gems/railties-3.2.12/lib/rails/railtie/configurable.rb:30
require at org/jruby/RubyKernel.java:1082
require at /Users/ggoodrich/.rvm/gems/jruby-1.7.6@kyck_registrar_web/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251
load_dependency at /Users/ggoodrich/.rvm/gems/jruby-1.7.6@kyck_registrar_web/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:236
require at /Users/ggoodrich/.rvm/gems/jruby-1.7.6@kyck_registrar_web/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251
(root) at /Users/ggoodrich/projects/kyck/kyck_registrar_web/config/environment.rb:5
(root) at /Users/ggoodrich/.rvm/gems/jruby-1.7.6@kyck_registrar_web/gems/railties-3.2.12/lib/rails/application.rb:1
require at org/jruby/RubyKernel.java:1082
(root) at script/rails:6
torquebox (3.0.0)
torquebox-cache (3.0.0 java)
torquebox-capistrano-support (3.0.0)
torquebox-configure (3.0.0 java)
torquebox-core (3.0.0 java)
torquebox-messaging (3.0.0 java)
torquebox-naming (3.0.0 java)
torquebox-rake-support (3.0.0)
torquebox-security (3.0.0 java)
torquebox-server (3.0.0 java)
torquebox-stomp (3.0.0)
torquebox-transactions (3.0.0)
torquebox-web (3.0.0 java)
prompt git:(branch) ✗ ruby -v
jruby 1.7.6 (1.9.3p392) 2013-10-22 6004147 on Java HotSpot(TM) 64-Bit Server VM 1.7.0_45-b18 [darwin-x86_64]
prompt git:(branch) ✗ rails -v
Rails 3.2.12
TorqueBox.configure do
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment