mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
rbinstall.rb: respect DESTDIR
* lib/rubygems.rb (Gem.install): pass optinos to Gem::DependencyInstaller. * tool/rbinstall.rb (gem): respect DESTDIR. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
163c299420
commit
a7f03a4659
2 changed files with 3 additions and 3 deletions
|
@ -721,7 +721,7 @@ install?(:ext, :comm, :gem) do
|
|||
directories = Gem.ensure_gem_subdirectories(gem_dir, :mode => $dir_mode)
|
||||
prepare "bundle gems", gem_dir, directories
|
||||
Dir.glob(srcdir+'/gems/*.gem').each do |gem|
|
||||
Gem.install gem
|
||||
Gem.install gem, install_dir: with_destdir(Gem.dir)
|
||||
gemname = Pathname(gem).basename
|
||||
puts "#{" "*30}#{gemname}"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue