diff options
Diffstat (limited to 'tool/rbinstall.rb')
-rwxr-xr-x | tool/rbinstall.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index cec3b57f5c..1ce2983493 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -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) |