lib/rubygems/dependency_installer.rb in rubygems-update-2.1.6 vs lib/rubygems/dependency_installer.rb in rubygems-update-2.1.7
- old
+ new
@@ -72,15 +72,9 @@
def initialize options = {}
@only_install_dir = !!options[:install_dir]
@install_dir = options[:install_dir] || Gem.dir
- if options[:install_dir] then
- # 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
- end
-
options = DEFAULT_OPTIONS.merge options
@bin_dir = options[:bin_dir]
@dev_shallow = options[:dev_shallow]
@development = options[:development]