summaryrefslogtreecommitdiff
path: root/misc/rubygems/patches/patch-ac
blob: 474668d5def245672b0d80c8b967f5735bae44e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ac,v 1.3 2008/09/15 08:43:44 taca Exp $

--- lib/rubygems/install_update_options.rb.orig	2008-05-07 11:15:51.000000000 +0900
+++ lib/rubygems/install_update_options.rb
@@ -31,6 +31,11 @@ module Gem::InstallUpdateOptions
       options[:bin_dir] = File.expand_path(value)
     end
 
+    add_option(:"Install", '-B', '--install-root DIR',
+               'Root directory for gem files on install') do |value, options|
+      options[:install_root] = File.expand_path(value)
+    end
+
     add_option(:"Install/Update", '-d', '--[no-]rdoc',
                'Generate RDoc documentation for the gem on',
                'install') do |value, options|