22 lines
548 B
Text
22 lines
548 B
Text
|
#!/usr/bin/env ruby
|
||
|
#
|
||
|
# This file was generated by RubyGems.
|
||
|
#
|
||
|
# The application 'bundler' is installed as part of a gem, and
|
||
|
# this file is here to facilitate running it.
|
||
|
#
|
||
|
|
||
|
require 'rubygems'
|
||
|
vend = File.join(File.dirname(__FILE__), 'vendor')
|
||
|
Gem.use_paths File.join(vend, 'bundle', File.basename(Gem.dir)), (Gem.path + [File.join(vend, 'plugins', 'bundler')])
|
||
|
|
||
|
version = ">= 0"
|
||
|
|
||
|
if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then
|
||
|
version = $1
|
||
|
ARGV.shift
|
||
|
end
|
||
|
|
||
|
gem 'bundler', version
|
||
|
load Gem.bin_path('bundler', 'bundle', version)
|