Sha256: e18bfc9b64777e035621d618dd3abbfe635001f02e1e118530edcb4ca96c2b34

Contents?: true

Size: 420 Bytes

Versions: 3

Compression:

Stored size: 420 Bytes

Contents

# This is not actually required by the actual library
# loads the bundled environment
require 'bundler/shared_helpers'

if Bundler::SharedHelpers.in_bundle?
  env_file = Bundler::SharedHelpers.env_file
  if env_file.exist?
    require env_file
  else
    require 'bundler'
    begin
      Bundler.setup
    rescue Bundler::BundlerError => e
      puts "\e[31m#{e.message}\e[0m"
      exit e.status_code
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bundler-0.9.21 lib/bundler/setup.rb
bundler-0.9.20 lib/bundler/setup.rb
bundler-0.9.19 lib/bundler/setup.rb