summaryrefslogtreecommitdiff
path: root/misc/rubygems/patches/patch-ac
blob: f594f0b52ff10f516fe9be75d257329713a95aba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ac,v 1.2 2008/03/31 15:40:43 jlam Exp $

--- lib/rubygems/install_update_options.rb.orig	2008-02-20 14:27:40.000000000 -0500
+++ 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|