Devise should have created the User model for you. It sounds like this did not happen. Try creating the model, something like this...
class User < ActiveRecord::Base
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable
end
I would advise against scaffolding the User.
If you need to get the view files, run
rails g devise:views
If you need the controllers (for extending and such) you can reference them here
https://github.com/plataformatec/devise/tree/master/app/controllers/devise
and just create a devise directory within controllers and place the needed controller files within from devise.
Hope this helps.
rake db:migrate
. Then, install the devise byrails g devise:install
. After that try your command -rails g devise User
again. – kiddorails