David Kimura PRO said over 5 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') ```