From 8cc45aae947d453acca029e13eb64f3f5f0bf942 Mon Sep 17 00:00:00 2001 From: drbrain Date: Mon, 31 Mar 2008 22:40:06 +0000 Subject: Import RubyGems 1.1.0 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rubygems/install_update_options.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/rubygems/install_update_options.rb') diff --git a/lib/rubygems/install_update_options.rb b/lib/rubygems/install_update_options.rb index af6be423f6..58807be62a 100644 --- a/lib/rubygems/install_update_options.rb +++ b/lib/rubygems/install_update_options.rb @@ -25,6 +25,12 @@ module Gem::InstallUpdateOptions options[:install_dir] = File.expand_path(value) end + add_option(:"Install/Update", '-n', '--bindir DIR', + 'Directory where binary files are', + 'located') do |value, options| + options[:bin_dir] = File.expand_path(value) + end + add_option(:"Install/Update", '-d', '--[no-]rdoc', 'Generate RDoc documentation for the gem on', 'install') do |value, options| -- cgit v1.2.3