When I try rails g clearance:install
or rails g sorcery:install
it fails and responds with:
/Users/superhappyfuntime/pikipik/config/initializers/devise.rb:3: uninitialized constant Devise (NameError)
from /Library/Ruby/Gems/1.8/gems/railties-3.1.1/lib/rails/engine.rb:556
from /Library/Ruby/Gems/1.8/gems/railties-3.1.1/lib/rails/engine.rb:555:in each'
from /Library/Ruby/Gems/1.8/gems/railties-3.1.1/lib/rails/engine.rb:555
from /Library/Ruby/Gems/1.8/gems/railties-3.1.1/lib/rails/initializable.rb:30:in
instance_exec'
from /Library/Ruby/Gems/1.8/gems/railties-3.1.1/lib/rails/initializable.rb:30:in run'
from /Library/Ruby/Gems/1.8/gems/railties-3.1.1/lib/rails/initializable.rb:55:in
run_initializers'
from /Library/Ruby/Gems/1.8/gems/railties-3.1.1/lib/rails/initializable.rb:54:in each'
from /Library/Ruby/Gems/1.8/gems/railties-3.1.1/lib/rails/initializable.rb:54:in
run_initializers'
from /Library/Ruby/Gems/1.8/gems/railties-3.1.1/lib/rails/application.rb:96:in initialize!'
from /Library/Ruby/Gems/1.8/gems/railties-3.1.1/lib/rails/railtie/configurable.rb:30:in
send'
from /Library/Ruby/Gems/1.8/gems/railties-3.1.1/lib/rails/railtie/configurable.rb:30:in method_missing'
from /Users/superhappyfuntime/pikipik/config/environment.rb:5
from /Library/Ruby/Gems/1.8/gems/railties-3.1.1/lib/rails/application.rb:83:in
require_environment!'
from /Library/Ruby/Gems/1.8/gems/railties-3.1.1/lib/rails/commands.rb:22
from script/rails:6:in `require'
from script/rails:6
How can I get it to work properly?
config/environment.rb
. What's on line 5 and the lines around it? – Jordan Running