Sha256: 4c17723e81cef35c06ab2e4466c512e8f86d1f36b49e4200a456fe98edd49bce

Contents?: true

Size: 356 Bytes

Versions: 8

Compression:

Stored size: 356 Bytes

Contents

# for the #sh helper
require "rake"
require "rake/file_utils"

require "bundler"

module Bosh::Bootstrap::Cli::Helpers::Bundle
  def bundle(*args)
    Bundler.with_clean_env {
      ENV.delete 'RUBYOPT'
      sh "bundle #{args.join(' ')}"
    }
  end

  def run(*args)
    Bundler.with_clean_env {
      ENV.delete 'RUBYOPT'
      sh *args
    }
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bosh-bootstrap-0.18.1 lib/bosh-bootstrap/cli/helpers/bundle.rb
bosh-bootstrap-0.18.0 lib/bosh-bootstrap/cli/helpers/bundle.rb
bosh-bootstrap-0.17.1 lib/bosh-bootstrap/cli/helpers/bundle.rb
bosh-bootstrap-0.17.0 lib/bosh-bootstrap/cli/helpers/bundle.rb
bosh-bootstrap-0.16.2 lib/bosh-bootstrap/cli/helpers/bundle.rb
bosh-bootstrap-0.16.1 lib/bosh-bootstrap/cli/helpers/bundle.rb
bosh-bootstrap-0.16.0 lib/bosh-bootstrap/cli/helpers/bundle.rb
bosh-bootstrap-0.15.0 lib/bosh-bootstrap/cli/helpers/bundle.rb