devise gem code example
Example 1: devise rails g views
rails generate devise:views
Example 2: rails install devise
rails generate devise:install
Example 3: rails generate devise model
$ rails generate devise MODEL
rails generate devise:views
rails generate devise:install
$ rails generate devise MODEL