plataformatec/devise — Issue #1524: Generated initializer miss "require" statement
Author: PikachuEXE
Created: 2011-12-28 10:10:07+00:00
State: open

Environment
Win7 x64
Ruby 1.9.3
devise 1.5.3 (tried 2.0.0rc today, even more bug)

After running rails g devise:install, any other action will give this error:
uninitialized constant Devise (NameError)

I add the statement in the \config\initializers\devise.rb
require 'devise'
Then it is solved