Module: Bosh::Bootstrap::Cli::Helpers::Bundle
- Included in:
- Bosh::Bootstrap::Cli::Helpers, Microbosh
- Defined in:
- lib/bosh-bootstrap/cli/helpers/bundle.rb
Instance Method Summary collapse
Instance Method Details
#bundle(*args) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/bosh-bootstrap/cli/helpers/bundle.rb', line 8 def bundle(*args) Bundler.with_clean_env { ENV.delete 'RUBYOPT' sh "bundle #{args.join(' ')}" } end |
#run(*args) ⇒ Object
15 16 17 18 19 20 |
# File 'lib/bosh-bootstrap/cli/helpers/bundle.rb', line 15 def run(*args) Bundler.with_clean_env { ENV.delete 'RUBYOPT' sh *args } end |