Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / misc / rubygems / patches / patch-af
bloba52af80d50edbc7d4af28e5b0f448a302ea75d3e
1 $NetBSD: patch-af,v 1.5 2011/03/23 14:35:05 taca Exp $
3 Add install_root option for pkgsrc's rubygems support.
5 --- lib/rubygems/commands/uninstall_command.rb.orig     2011-08-27 00:43:50.000000000 +0000
6 +++ lib/rubygems/commands/uninstall_command.rb
7 @@ -21,6 +21,11 @@ class Gem::Commands::UninstallCommand < 
8        options[:all] = value
9      end
11 +    add_option('-B', '--install-root DIR',
12 +               'Root directory for gem files') do |value, options|
13 +      options[:install_root] = File.expand_path(value)
14 +    end
16      add_option('-I', '--[no-]ignore-dependencies',
17                 'Ignore dependency requirements while',
18                 'uninstalling') do |value, options|