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
15 16 17 |
# File 'lib/avm/eac_rails_base1/runner_with/bundle.rb', line 15 def bundle_command rails_instance.bundle(*bundle_args).envvar('RAILS_ENV', rails_environment) end |
#bundle_run ⇒ Object
19 20 21 22 23 |
# File 'lib/avm/eac_rails_base1/runner_with/bundle.rb', line 19 def bundle_run infov 'Bundle arguments', ::Shellwords.join(bundle_args) infov 'Rails environment', rails_environment bundle_command.system! end |