1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* tool/rbinstall.rb: support destdir for native extention gem.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2015-04-11 14:26:44 +00:00
parent 42e149c9ad
commit d266473283
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Sat Apr 11 23:26:05 2015 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* tool/rbinstall.rb: support destdir for native extention gem.
Sat Apr 11 21:02:06 2015 NAKAMURA Usaku <usa@ruby-lang.org>
* test/ruby/test_file_exhaustive.rb

View file

@ -775,6 +775,7 @@ install?(:ext, :comm, :gem) do
end
next if gems.empty?
if defined?(Zlib)
ENV['DESTDIR'] = $destdir if $destdir
gems.each do |gem|
Gem.install(gem, Gem::Requirement.default, options)
gemname = File.basename(gem)