Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / misc / rubygems / patches / patch-al
blob00570112436b589436dd7b84624b4a7784dc9f82
1 $NetBSD: patch-al,v 1.1 2010/09/10 03:48:40 taca Exp $
3 Prevent access to HOME when --install-root is used.
5 --- lib/rubygems/commands/install_command.rb.orig       2011-05-18 23:36:37.000000000 +0000
6 +++ lib/rubygems/commands/install_command.rb
7 @@ -148,7 +148,7 @@ to write the specification by hand.  For
8            Gem::DocManager.new(gem, options[:rdoc_args]).generate_ri
9          end
11 -        Gem::DocManager.update_ri_cache
12 +        Gem::DocManager.update_ri_cache(options[:install_root])
13        end
15        if options[:generate_rdoc] then