22 lines
463 B
Plaintext
22 lines
463 B
Plaintext
|
#!/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'
|
||
|
Gem.use_paths File.join(File.dirname(File.dirname(__FILE__))), Gem.path
|
||
|
Gem.refresh
|
||
|
|
||
|
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)
|