gem 'devise' run 'bundle install' if yes?("Do you want generate a User Model (first_name, last_name, admin:boolean)") generate(:model, 'user', 'first_name', 'last_name', 'admin:boolean') end # rails g devise:install generate('devise:install') generate(:devise, 'User') environment 'config.action_mailer.default_url_options = { host: "localhost", port: 3000 }', env: 'development'