blob: b6098ec551e9eecb96746312ac9c3c6471d0097c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-ah,v 1.1.1.1 2010/09/12 03:50:06 taca Exp $
Add install_root option for pkgsrc's rubygems support.
--- lib/rubygems/commands/uninstall_command.rb.orig 2009-10-02 10:45:39.000000000 +0000
+++ lib/rubygems/commands/uninstall_command.rb
@@ -21,6 +21,11 @@ class Gem::Commands::UninstallCommand <
options[:all] = 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_option('-I', '--[no-]ignore-dependencies',
'Ignore dependency requirements while',
'uninstalling') do |value, options|
|