Sha256: 3baf2ecc20c7abdc162219a1cb7ff0b36939a7ff2f252a6802a4b29eed7e8327
Contents?: true
Size: 549 Bytes
Versions: 6
Compression:
Stored size: 549 Bytes
Contents
module Stationed module Generators module Plugins module Foreman def self.prepended(base) base.class_option :foreman, type: :boolean, default: true, desc: 'Configure Foreman with a Procfile and .env file' end def finish_template return super unless options[:foreman] gem 'foreman' gem 'dotenv-rails' copy_file 'Procfile', 'Procfile' template 'env.erb', '.env' super end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems