David Kimura PRO said almost 6 years ago on Templating Ruby on Rails Applications :
Using this works without adding in the weird ENV ``` gem 'devise' run 'bundle install' generate(:scaffold, 'user', 'name') generate('devise:install') generate('devise','User') ```