Skip to content

Instantly share code, notes, and snippets.

@christianparpart
Created May 8, 2011 01:05
Show Gist options
  • Save christianparpart/961006 to your computer and use it in GitHub Desktop.
Save christianparpart/961006 to your computer and use it in GitHub Desktop.
rubnius error output vs rails 3 app
trapni@shougar ~/projects/ialu $ rails s
WARNING: This version of mysql2 (0.3.2) doesn't ship with the ActiveRecord adapter bundled anymore as it's now part of Rails 3.1
WARNING: Please use the 0.2.x releases if you plan on using it in Rails <= 3.0.x
An exception occurred running script/rails
method 'const_defined?': given 2, expected 1 (ArgumentError)
Backtrace:
{ } in ActiveSupport::Inflector(Module)#constantize at /home/trapni/.rvm/gems
/rbx-head/gems
/activesupport-3.0.7/lib
/active_support
/inflector
/methods.rb:124
Array#each at kernel/bootstrap/array.rb:76
ActiveSupport::Inflector(Module)#constantize at /home/trapni/.rvm/gems/rbx-head
/gems/activesupport-3.0.7/lib
/active_support/inflector
/methods.rb:123
{ } in ActiveSupport::Dependencies::WatchStack#watch_namespaces at \
/home/trapni/.rvm/gems/rbx-head/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:128
Array#map at kernel/bootstrap/array.rb:97
ActiveSupport::Dependencies::WatchStack#watch_namespaces at \
/home/trapni/.rvm/gems/rbx-head/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:125
ActiveSupport::Dependencies(Module)#new_constants_in at /home/trapni/.rvm/gems
/rbx-head/gems
/activesupport-3.0.7
/lib/active_support
/dependencies.rb:592
ActiveSupport::Dependencies::Loadable(Object)#load_dependency at \
/home/trapni/.rvm/gems/rbx-head/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225
ActiveSupport::Dependencies::Loadable(Object)#require at /home/trapni/.rvm/gems
/rbx-head/gems
/activesupport-3.0.7
/lib/active_support
/dependencies.rb:239
Object#__script__ at /home/trapni/.rvm/gems
/rbx-head/gems
/actionpack-3.0.7/lib
/abstract_controller
/base.rb:3
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:144
Autoload#call at kernel/common/autoload.rb:29
ActionController.__module_init__ (ActionController) at /home/trapni/.rvm/gems
/rbx-head/gems
/actionpack-3.0.7/lib
/action_controller
/metal.rb:52
Object#__script__ at /home/trapni/.rvm/gems
/rbx-head/gems
/actionpack-3.0.7/lib
/action_controller/metal.rb:5
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:144
Autoload#call at kernel/common/autoload.rb:29
ActionController.__module_init__ (ActionController) at /home/trapni/.rvm/gems
/rbx-head/gems
/actionpack-3.0.7/lib
/action_controller
/base.rb:169
Object#__script__ at /home/trapni/.rvm/gems
/rbx-head/gems
/actionpack-3.0.7/lib
/action_controller/base.rb:3
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:144
Autoload#call at kernel/common/autoload.rb:29
Object#__script__ at /home/trapni/.rvm/gems
/rbx-head/gems
/recaptcha-0.3.1/lib
/recaptcha/rails.rb:4
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:144
Kernel.require at kernel/common/kernel.rb:783
{ } in Bundler::Runtime#require at /home/trapni/.rvm/gems/rbx-head/gems
/bundler-1.0.13/lib/bundler
/runtime.rb:68
Array#each at kernel/bootstrap/array.rb:76
{ } in Bundler::Runtime#require at /home/trapni/.rvm/gems/rbx-head/gems
/bundler-1.0.13/lib/bundler
/runtime.rb:66
Array#each at kernel/bootstrap/array.rb:76
Bundler::Runtime#require at /home/trapni/.rvm/gems/rbx-head/gems
/bundler-1.0.13/lib/bundler
/runtime.rb:55
Bundler.require at /home/trapni/.rvm/gems/rbx-head/gems
/bundler-1.0.13/lib/bundler.rb:120
Object#__script__ at config/application.rb:7
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:144
Kernel(Object)#require at kernel/common/kernel.rb:783
{ } in Object#__script__ at /home/trapni/.rvm/gems/rbx-head/gems
/railties-3.0.7/lib/rails
/commands.rb:28
Kernel(Rails::Server)#tap at kernel/common/kernel.rb:356
Object#__script__ at /home/trapni/.rvm/gems
/rbx-head/gems/railties-3.0.7
/lib/rails/commands.rb:27
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:144
Kernel(Object)#require at kernel/common/kernel.rb:783
Object#__script__ at script/rails:6
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:65
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:90
Rubinius::Loader#script at kernel/loader.rb:591
Rubinius::Loader#main at kernel/loader.rb:721
Rubinius::Loader.main at kernel/loader.rb:760
Object#__script__ at kernel/loader.rb:771
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment