diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-26 02:06:00 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-26 02:06:00 +0000 |
commit | 8b424513fd43c398aaeea5dede8bbc5c51602773 (patch) | |
tree | b1509d7a77a52206f7825520c99a693f7818a8a4 /lib/rubygems/install_update_options.rb | |
parent | dbf3fb3d8e6e10e2ac2af19937e0016a4815ca50 (diff) | |
download | ruby-8b424513fd43c398aaeea5dede8bbc5c51602773.tar.gz |
Upgrade to RubyGems 1.2.0 r1824. Incorporates [ruby-core:17353].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/install_update_options.rb')
-rw-r--r-- | lib/rubygems/install_update_options.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/rubygems/install_update_options.rb b/lib/rubygems/install_update_options.rb index 5202c105db..dd35acb176 100644 --- a/lib/rubygems/install_update_options.rb +++ b/lib/rubygems/install_update_options.rb @@ -90,6 +90,13 @@ module Gem::InstallUpdateOptions options[:format_executable] = value end + add_option(:"Install/Update", '--[no-]user-install', + 'Install in user\'s home directory instead', + 'of GEM_HOME. Defaults to using home directory', + 'only if GEM_HOME is not writable.') do |value, options| + options[:user_install] = value + end + add_option(:"Install/Update", "--development", "Install any additional development", "dependencies") do |value, options| |