Class: Vpsb::Tasks::DeployConfig
- Includes:
- AskSupport
- Defined in:
- lib/vpsb/tasks/deploy_config.rb
Constant Summary collapse
- PATH =
'bootstrap_rails_app_in_do/config/deploy/production.rb'
- DEPLOY_RB_PATH =
'bootstrap_rails_app_in_do/config/deploy.rb'
- GEMFILE_PATH =
'bootstrap_rails_app_in_do/Gemfile'
Instance Attribute Summary
Attributes inherited from BaseTask
Instance Method Summary collapse
Methods included from AskSupport
#ask, #ask_loop, #ask_to_confirm
Methods inherited from BaseTask
Constructor Details
This class inherits a constructor from Vpsb::BaseTask
Instance Method Details
#call ⇒ Object
12 13 14 15 16 17 |
# File 'lib/vpsb/tasks/deploy_config.rb', line 12 def call prepare Vpsb::Helpers::FileReplace.replace_text(PATH, core.get(:deploy_config)) Vpsb::Helpers::FileReplace.replace_text(DEPLOY_RB_PATH, core.get(:deploy_rb)) Vpsb::Helpers::FileReplace.replace_text(GEMFILE_PATH, core.get(:app_gemfile)) end |