blob: 53997cf2f423212f50a276f8f4b48e1fb738baf0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/usr/bin/env ruby
require 'bundler'
# 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'
require 'bundler/friendly_errors'
Bundler.with_friendly_errors { Bundler::CLI.start }
|