summaryrefslogtreecommitdiff
path: root/tool/rbinstall.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-17 02:09:27 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-17 02:09:27 +0000
commitb14afd8fde24dabe0cdabd1248c9f1462d30fe63 (patch)
tree08b10d20de7face2886e664c74f39d7bbd35b497 /tool/rbinstall.rb
parent3e9a71d784c7b68c194e39c20718b4981c8f8912 (diff)
* tool/rbinstall.rb: fixed invalid options with latest rubygems.
https://github.com/rubygems/rubygems/issues/1013 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/rbinstall.rb')
-rwxr-xr-xtool/rbinstall.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index 08a577e..8776bcd 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -714,7 +714,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, :install_dir => with_destdir(Gem.dir), :domain => :local, :ignore_dependencies => true
+ Gem.install gem, Gem::Requirement.default, :install_dir => with_destdir(Gem.dir), :domain => :local, :ignore_dependencies => true
gemname = Pathname(gem).basename
puts "#{" "*30}#{gemname}"
end