diff options
author | Carl Lerche <carllerche@mac.com> | 2009-09-03 09:31:04 -0700 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2009-09-03 09:31:04 -0700 |
commit | f416f9f0aef654fea94cae10027aca866d07c659 (patch) | |
tree | ade716f1abda2ab0f5d64fcbccb170b17fb19498 /railties/lib/vendor/bundler/bin/gem_bundler | |
parent | e3f5fd536e7124c3e34b74e6ece94570cf6f7028 (diff) | |
download | rails-f416f9f0aef654fea94cae10027aca866d07c659.tar.gz rails-f416f9f0aef654fea94cae10027aca866d07c659.tar.bz2 rails-f416f9f0aef654fea94cae10027aca866d07c659.zip |
Vendor the latest version of the bundler
Diffstat (limited to 'railties/lib/vendor/bundler/bin/gem_bundler')
-rwxr-xr-x | railties/lib/vendor/bundler/bin/gem_bundler | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/railties/lib/vendor/bundler/bin/gem_bundler b/railties/lib/vendor/bundler/bin/gem_bundler deleted file mode 100755 index 7a8771efee..0000000000 --- a/railties/lib/vendor/bundler/bin/gem_bundler +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/env ruby -require "optparse" -require "bundler" - -options = {} - -parser = OptionParser.new do |op| - op.banner = "Usage: gem_bundler [OPTIONS] [PATH]" - - op.on("-m", "--manifest MANIFEST") do |manifest| - options[:manifest] = manifest - end - - op.on_tail("-h", "--help", "Show this message") do - puts op - exit - end -end -parser.parse! - -options[:path] = ARGV.shift - -unless options[:path] - puts parser - puts %( - [PATH] must be specified - ) - exit -end - -unless options[:manifest] && File.exist?(options[:manifest]) - puts parser - puts %( - MANIFEST must be a valid manifest file - ) - exit -end - - -Bundler.run(options)
\ No newline at end of file |