Sha256: b9544ed07625e41063d4678886a57ea4a2aa7ca00eeed5c22c57d62672c418bd

Contents?: true

Size: 979 Bytes

Versions: 5

Compression:

Stored size: 979 Bytes

Contents

#!/usr/bin/env ruby
require 'bundler'
begin
  # Check if an older version of bundler is installed
  $:.each do |path|
    if path =~ %r'/bundler-0.(\d+)' && $1.to_i < 9
      err = "Please remove Bundler 0.8 versions."
      err << "This can be done by running `gem cleanup bundler`."
      abort(err)
    end
  end
  require 'bundler/cli'
  Bundler::CLI.start
rescue Bundler::BundlerError => e
  Bundler.ui.error e.message
  Bundler.ui.debug e.backtrace.join("\n")
  exit e.status_code
rescue Interrupt => e
  Bundler.ui.error "\nQuitting..."
  Bundler.ui.debug e.backtrace.join("\n")
  exit 1
rescue SystemExit => e
  exit e.status
rescue Exception => e
  Bundler.ui.error "Unfortunately, a fatal error has occurred. " +
    "Please report this error to the Bundler issue tracker at " +
    "https://github.com/carlhuda/bundler/issues so that we can fix it. " +
    "Please include the full output of the command, your Gemfile and Gemfile.lock. " +
    "Thanks!"
  raise e
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
rkh-bundler-1.2.0.pre bin/bundle
bundler-1.2.0.pre bin/bundle
bundler-1.1.3 bin/bundle
bundler-1.1.2 bin/bundle
bundler-1.1.1 bin/bundle