ruby-changes:35524
From: hsbt <ko1@a...>
Date: Wed, 17 Sep 2014 11:09:35 +0900 (JST)
Subject: [ruby-changes:35524] hsbt:r47606 (trunk): * tool/rbinstall.rb: fixed invalid options with latest rubygems.
hsbt 2014-09-17 11:09:27 +0900 (Wed, 17 Sep 2014) New Revision: 47606 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47606 Log: * tool/rbinstall.rb: fixed invalid options with latest rubygems. https://github.com/rubygems/rubygems/issues/1013 Modified files: trunk/ChangeLog trunk/tool/rbinstall.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 47605) +++ ChangeLog (revision 47606) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Sep 17 11:09:21 2014 SHIBATA Hiroshi <shibata.hiroshi@g...> + + * tool/rbinstall.rb: fixed invalid options with latest rubygems. + https://github.com/rubygems/rubygems/issues/1013 + Tue Sep 16 19:19:00 2014 Nobuyoshi Nakada <nobu@r...> * benchmark/bm_app_aobench.rb: update outdated links to the Index: tool/rbinstall.rb =================================================================== --- tool/rbinstall.rb (revision 47605) +++ tool/rbinstall.rb (revision 47606) @@ -714,7 +714,7 @@ install?(:ext, :comm, :gem) do https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L714 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/