mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
rbinstall.rb: destdir
* tool/rbinstall.rb (gem): use installed ruby under destdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
df7aac7c8d
commit
3cb0c6e39e
1 changed files with 1 additions and 1 deletions
|
@ -775,7 +775,7 @@ install?(:ext, :comm, :gem) do
|
|||
end
|
||||
next if gems.empty?
|
||||
if defined?(Zlib)
|
||||
ENV['DESTDIR'] = $destdir if $destdir
|
||||
Gem.instance_variable_set(:@ruby, with_destdir(File.join(bindir, ruby_install_name)))
|
||||
gems.each do |gem|
|
||||
Gem.install(gem, Gem::Requirement.default, options)
|
||||
gemname = File.basename(gem)
|
||||
|
|
Loading…
Reference in a new issue