linamh/dev-ruby/rubygems/files/rubygems-1.1.0-dependency-installer-install-dir-fix.patch
2008-12-08 19:43:30 +00:00

14 lines
664 B
Diff

Index: lib/rubygems/dependency_installer.rb
===================================================================
--- lib/rubygems/dependency_installer.rb (revision 1678)
+++ lib/rubygems/dependency_installer.rb (working copy)
@@ -189,7 +189,7 @@
say "Installing gem #{spec.full_name}" if Gem.configuration.really_verbose
_, source_uri = @specs_and_sources.assoc spec
- local_gem_path = Gem::RemoteFetcher.fetcher.download spec, source_uri
+ local_gem_path = Gem::RemoteFetcher.fetcher.download spec, source_uri, @install_dir
inst = Gem::Installer.new local_gem_path,
:env_shebang => @env_shebang,