Module: Avm::EacRailsBase1::RunnerWith::Bundle
- Defined in:
- lib/avm/eac_rails_base1/runner_with/bundle.rb
Instance Method Summary collapse
Instance Method Details
#bundle_command ⇒ Object
11 12 13 |
# File 'lib/avm/eac_rails_base1/runner_with/bundle.rb', line 11 def bundle_command rails_instance.bundle(*bundle_args).envvar('RAILS_ENV', rails_environment) end |
#bundle_run ⇒ Object
15 16 17 18 19 |
# File 'lib/avm/eac_rails_base1/runner_with/bundle.rb', line 15 def bundle_run infov 'Bundle arguments', ::Shellwords.join(bundle_args) infov 'Rails environment', rails_environment bundle_command.system! end |