ruby/rubygems-2.2.0-Do-not-modif...

30 lines
1.0 KiB
Diff
Raw Normal View History

2013-10-07 10:30:18 +00:00
From ad80fb9ffe5ab73e05784237de8d8b7d03784867 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
2013-10-07 10:30:18 +00:00
Date: Fri, 4 Oct 2013 22:13:11 +0200
Subject: [PATCH] Do not modify global Specification.dirs during installation.
2013-02-13 15:33:54 +00:00
---
2013-10-07 10:30:18 +00:00
lib/rubygems/dependency_installer.rb | 6 ------
1 file changed, 6 deletions(-)
2013-02-13 15:33:54 +00:00
diff --git a/lib/rubygems/dependency_installer.rb b/lib/rubygems/dependency_installer.rb
2013-10-07 10:30:18 +00:00
index e7c489a..5123fce 100644
2013-02-13 15:33:54 +00:00
--- a/lib/rubygems/dependency_installer.rb
+++ b/lib/rubygems/dependency_installer.rb
2013-10-07 10:30:18 +00:00
@@ -74,12 +74,6 @@ class Gem::DependencyInstaller
@only_install_dir = !!options[:install_dir]
@install_dir = options[:install_dir] || Gem.dir
2013-02-13 15:33:54 +00:00
2013-10-07 10:30:18 +00:00
- if options[:install_dir] then
2013-02-08 23:54:37 +00:00
- # HACK shouldn't change the global settings, needed for -i behavior
- # maybe move to the install command? See also github #442
- Gem::Specification.dirs = @install_dir
2013-10-07 10:30:18 +00:00
- end
-
2013-02-13 15:33:54 +00:00
options = DEFAULT_OPTIONS.merge options
@bin_dir = options[:bin_dir]
2013-02-15 17:06:40 +00:00
--
2013-10-07 10:30:18 +00:00
1.8.3.1
2013-02-15 17:06:40 +00:00