Sha256: 7277cfad13cab15b06df893d7241f435be948ef38dca1ef82990beed6347fdcb

Contents?: true

Size: 372 Bytes

Versions: 1

Compression:

Stored size: 372 Bytes

Contents

# Check if an older version of bundler is installed
require 'bundler'
$:.each do |path|
  if path =~ %r'/bundler-0.(\d+)' && $1.to_i < 9
    abort "Please remove older versions of bundler. This can by running `gem cleanup`."
  end
end
require 'bundler/cli'

begin
  Bundler::CLI.start
rescue Bundler::BundlerError => e
  Bundler.ui.error e.message
  exit e.status_code
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bundler-0.9.5 bin/bundle