Class: Setup
Overview
Handles initial setup of application
Constant Summary collapse
- GEM_DIR =
Store the root of the gem directory
"#{__dir__}/.."
Instance Method Summary collapse
Instance Method Details
#db_config ⇒ Object
12 13 14 |
# File 'lib/setup.rb', line 12 def db_config template "config.yml.erb", "#{__dir__}/../lib/db/config.yml", {quiet: true, force: true} end |
#standard_migrations_override ⇒ Object
17 18 19 |
# File 'lib/setup.rb', line 17 def standard_migrations_override template "standalone_migrations.yml.erb", "#{__dir__}/../.standalone_migrations", {quiet: true, force: true} end |