rails generate devise user
the Main Framework
 rails generate devise:install
rails g devise user
empty main page & registration page
devise routes
automatical generated by rake db:migrate