Skip to content

Instantly share code, notes, and snippets.

@thomasv314
Created August 29, 2011 19:31
Show Gist options
  • Save thomasv314/1179180 to your computer and use it in GitHub Desktop.
Save thomasv314/1179180 to your computer and use it in GitHub Desktop.
Rails error message when trying to generate a fresh devise install on a fresh rails 3.1 application
DevMac:AJJReg thomasvendetta$ rails generate devise:install
/Users/thomasvendetta/.rvm/gems/ruby-1.9.2-p290@rails31pre/gems/actionpack-3.1.0.rc6/lib/sprockets/railtie.rb:21:in `block (2 levels) in <class:Railtie>': undefined method `static_root=' for #<Sprockets::Environment:0x00000102e9e5a0> (NoMethodError)
from /Users/thomasvendetta/.rvm/gems/ruby-1.9.2-p290@rails31pre/gems/sprockets-2.0.0/lib/sprockets/environment.rb:55:in `initialize'
from /Users/thomasvendetta/.rvm/gems/ruby-1.9.2-p290@rails31pre/gems/actionpack-3.1.0.rc6/lib/sprockets/railtie.rb:20:in `new'
from /Users/thomasvendetta/.rvm/gems/ruby-1.9.2-p290@rails31pre/gems/actionpack-3.1.0.rc6/lib/sprockets/railtie.rb:20:in `block in <class:Railtie>'
from /Users/thomasvendetta/.rvm/gems/ruby-1.9.2-p290@rails31pre/gems/railties-3.1.0.rc6/lib/rails/initializable.rb:25:in `instance_exec'
from /Users/thomasvendetta/.rvm/gems/ruby-1.9.2-p290@rails31pre/gems/railties-3.1.0.rc6/lib/rails/initializable.rb:25:in `run'
from /Users/thomasvendetta/.rvm/gems/ruby-1.9.2-p290@rails31pre/gems/railties-3.1.0.rc6/lib/rails/initializable.rb:50:in `block in run_initializers'
from /Users/thomasvendetta/.rvm/gems/ruby-1.9.2-p290@rails31pre/gems/railties-3.1.0.rc6/lib/rails/initializable.rb:49:in `each'
from /Users/thomasvendetta/.rvm/gems/ruby-1.9.2-p290@rails31pre/gems/railties-3.1.0.rc6/lib/rails/initializable.rb:49:in `run_initializers'
from /Users/thomasvendetta/.rvm/gems/ruby-1.9.2-p290@rails31pre/gems/railties-3.1.0.rc6/lib/rails/application.rb:92:in `initialize!'
from /Users/thomasvendetta/.rvm/gems/ruby-1.9.2-p290@rails31pre/gems/railties-3.1.0.rc6/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /Users/thomasvendetta/Code/AJJReg/config/environment.rb:5:in `<top (required)>'
from /Users/thomasvendetta/.rvm/gems/ruby-1.9.2-p290@rails31pre/gems/activesupport-3.1.0.rc6/lib/active_support/dependencies.rb:237:in `require'
from /Users/thomasvendetta/.rvm/gems/ruby-1.9.2-p290@rails31pre/gems/activesupport-3.1.0.rc6/lib/active_support/dependencies.rb:237:in `block in require'
from /Users/thomasvendetta/.rvm/gems/ruby-1.9.2-p290@rails31pre/gems/activesupport-3.1.0.rc6/lib/active_support/dependencies.rb:223:in `block in load_dependency'
from /Users/thomasvendetta/.rvm/gems/ruby-1.9.2-p290@rails31pre/gems/activesupport-3.1.0.rc6/lib/active_support/dependencies.rb:636:in `new_constants_in'
from /Users/thomasvendetta/.rvm/gems/ruby-1.9.2-p290@rails31pre/gems/activesupport-3.1.0.rc6/lib/active_support/dependencies.rb:223:in `load_dependency'
from /Users/thomasvendetta/.rvm/gems/ruby-1.9.2-p290@rails31pre/gems/activesupport-3.1.0.rc6/lib/active_support/dependencies.rb:237:in `require'
from /Users/thomasvendetta/.rvm/gems/ruby-1.9.2-p290@rails31pre/gems/railties-3.1.0.rc6/lib/rails/application.rb:78:in `require_environment!'
from /Users/thomasvendetta/.rvm/gems/ruby-1.9.2-p290@rails31pre/gems/railties-3.1.0.rc6/lib/rails/commands.rb:22:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
DevMac:AJJReg thomasvendetta$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment