Sha256: ae85047a693918020e67d4272c17cdc802b16027398c91c11cd8a545b0903d60

Contents?: true

Size: 408 Bytes

Versions: 6

Compression:

Stored size: 408 Bytes

Contents

require 'bundler/shared_helpers'

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

  # Add bundler to the load path after disabling system gems
  bundler_lib = File.expand_path("../..", __FILE__)
  $LOAD_PATH.unshift(bundler_lib) unless $LOAD_PATH.include?(bundler_lib)
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bundler-1.0.0.beta.8 lib/bundler/setup.rb
bundler-1.0.0.beta.5 lib/bundler/setup.rb
bundler-1.0.0.beta.4 lib/bundler/setup.rb
bundler-1.0.0.beta.3 lib/bundler/setup.rb
bundler-1.0.0.beta.2 lib/bundler/setup.rb
bundler-1.0.0.beta.1 lib/bundler/setup.rb