pkgsrc-ng/lang/ruby193-base/patches/patch-lib_rubygems_commands_install__command.rb
2013-09-26 17:14:40 +02:00

16 lines
586 B
Ruby

$NetBSD: patch-lib_rubygems_commands_install__command.rb,v 1.1.1.1 2011/11/08 16:10:51 taca Exp $
Prevent access to HOME when --install-root is used.
--- lib/rubygems/commands/install_command.rb.orig 2011-07-27 02:04:03.000000000 +0000
+++ lib/rubygems/commands/install_command.rb
@@ -148,7 +148,7 @@ to write the specification by hand. For
Gem::DocManager.new(gem, options[:rdoc_args]).generate_ri
end
- Gem::DocManager.update_ri_cache
+ Gem::DocManager.update_ri_cache(options[:install_root])
end
if options[:generate_rdoc] then