lib/rubygems/dependency_installer.rb in rubygems-update-1.6.0 vs lib/rubygems/dependency_installer.rb in rubygems-update-1.6.1
- old
+ new
@@ -66,10 +66,10 @@
@wrappers = options[:wrappers]
@installed_gems = []
@install_dir = options[:install_dir] || Gem.dir
- @cache_dir = options[:cache_dir] || Gem.cache_dir(@install_dir)
+ @cache_dir = options[:cache_dir] || @install_dir
# Set with any errors that SpecFetcher finds while search through
# gemspecs for a dep
@errors = nil
end