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

--- lib/rubygems/commands/uninstall_command.rb.orig	2008-02-23 21:26:47.000000000 -0500
+++ lib/rubygems/commands/uninstall_command.rb
@@ -40,6 +40,11 @@ module Gem
           options[:bin_dir] = File.expand_path(value)
         end
 
+        add_option('-B', '--install-root DIR',
+                   'Root directory for gem files') do |value, options|
+          options[:install_root] = File.expand_path(value)
+        end
+
         add_version_option
         add_platform_option
       end