Skip to content

Instantly share code, notes, and snippets.

@syadlowsky
Created February 27, 2012 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save syadlowsky/1925794 to your computer and use it in GitHub Desktop.
Save syadlowsky/1925794 to your computer and use it in GitHub Desktop.
Devise error
/home/steve/code/hathersage/tirana-rails/config/initializers/devise.rb:3:in `<top (required)>': uninitialized constant Devise (NameError)
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/engine.rb:588:in `block (2 levels) in <class:Engine>'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/engine.rb:587:in `each'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/engine.rb:587:in `block in <class:Engine>'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/initializable.rb:30:in `instance_exec'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/initializable.rb:30:in `run'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/initializable.rb:55:in `block in run_initializers'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/initializable.rb:54:in `each'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/initializable.rb:54:in `run_initializers'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/application.rb:136:in `initialize!'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /home/steve/code/hathersage/tirana-rails/config/environment.rb:5:in `<top (required)>'
from /home/steve/code/hathersage/tirana-rails/config.ru:4:in `require'
from /home/steve/code/hathersage/tirana-rails/config.ru:4:in `block in <main>'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
from /home/steve/code/hathersage/tirana-rails/config.ru:1:in `new'
from /home/steve/code/hathersage/tirana-rails/config.ru:1:in `<main>'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/rack-1.4.1/lib/rack/builder.rb:40:in `eval'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/rack-1.4.1/lib/rack/builder.rb:40:in `parse_file'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/rack-1.4.1/lib/rack/server.rb:200:in `app'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/commands/server.rb:46:in `app'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/rack-1.4.1/lib/rack/server.rb:252:in `start'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/commands/server.rb:70:in `start'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/commands.rb:55:in `block in <top (required)>'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/commands.rb:50:in `tap'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/commands.rb:50:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
/home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/mongo-1.6.0/lib/mongo/util/logging.rb:34:in `instrument': undefined method `level' for #<Mongoid::Logger:0x00000002c9d838> (NoMethodError)
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/mongo-1.6.0/lib/mongo/cursor.rb:467:in `send_initial_query'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/mongo-1.6.0/lib/mongo/cursor.rb:458:in `refresh'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/mongo-1.6.0/lib/mongo/cursor.rb:128:in `next'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/mongo-1.6.0/lib/mongo/db.rb:509:in `command'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/mongo-1.6.0/lib/mongo/connection.rb:606:in `check_is_master'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/mongo-1.6.0/lib/mongo/connection.rb:392:in `connect'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/mongo-1.6.0/lib/mongo/connection.rb:555:in `setup'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/mongo-1.6.0/lib/mongo/connection.rb:104:in `initialize'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/mongo-1.6.0/lib/mongo/connection.rb:155:in `new'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/mongo-1.6.0/lib/mongo/connection.rb:155:in `from_uri'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/mongoid-2.4.4/lib/mongoid/config/database.rb:89:in `master'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/mongoid-2.4.4/lib/mongoid/config/database.rb:22:in `configure'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/mongoid-2.4.4/lib/mongoid/config.rb:273:in `configure_databases'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/mongoid-2.4.4/lib/mongoid/config.rb:94:in `from_hash'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/mongoid-2.4.4/lib/mongoid/config.rb:109:in `block in load!'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/mongoid-2.4.4/lib/mongoid/config.rb:108:in `tap'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/mongoid-2.4.4/lib/mongoid/config.rb:108:in `load!'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/mongoid-2.4.4/lib/mongoid.rb:147:in `load!'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/mongoid-2.4.4/lib/mongoid/railtie.rb:84:in `block in <class:Railtie>'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/initializable.rb:30:in `instance_exec'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/initializable.rb:30:in `run'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/initializable.rb:55:in `block in run_initializers'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/initializable.rb:54:in `each'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/initializable.rb:54:in `run_initializers'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/application.rb:136:in `initialize!'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /home/steve/code/hathersage/tirana-rails/config/environment.rb:5:in `<top (required)>'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `require'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `block in require'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:236:in `load_dependency'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `require'
from /home/steve/code/hathersage/tirana-rails/config.ru:4:in `block in <main>'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
from /home/steve/code/hathersage/tirana-rails/config.ru:1:in `new'
from /home/steve/code/hathersage/tirana-rails/config.ru:1:in `<main>'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/rack-1.4.1/lib/rack/builder.rb:40:in `eval'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/rack-1.4.1/lib/rack/builder.rb:40:in `parse_file'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/rack-1.4.1/lib/rack/server.rb:200:in `app'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/commands/server.rb:46:in `app'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/rack-1.4.1/lib/rack/server.rb:252:in `start'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/commands/server.rb:70:in `start'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/commands.rb:55:in `block in <top (required)>'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/commands.rb:50:in `tap'
from /home/steve/.rvm/gems/ruby-1.9.2-p290@tirana/gems/railties-3.2.1/lib/rails/commands.rb:50:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment