ruby-changes:43997
From: nobu <ko1@a...>
Date: Mon, 5 Sep 2016 09:58:28 +0900 (JST)
Subject: [ruby-changes:43997] nobu:r56070 (trunk): rbinstall.rb: install just one gemspec [ci skip]
nobu 2016-09-05 09:58:23 +0900 (Mon, 05 Sep 2016) New Revision: 56070 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56070 Log: rbinstall.rb: install just one gemspec [ci skip] * tool/rbinstall.rb (gem): install gemspec match with the directory only. some gems, (e.g., json) have multiple gemspec files. Modified files: trunk/tool/rbinstall.rb Index: tool/rbinstall.rb =================================================================== --- tool/rbinstall.rb (revision 56069) +++ tool/rbinstall.rb (revision 56070) @@ -761,6 +761,7 @@ install?(:ext, :comm, :gem) do https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L761 Gem::Specification.load(File.basename(path)) } next unless spec.platform == Gem::Platform::RUBY + next unless spec.full_name == path[srcdir.size..-1][/\A\/gems\/([^\/]+)/, 1] spec.extension_dir = "#{extensions_dir}/#{spec.full_name}" if File.directory?(ext = "#{gem_ext_dir}/#{spec.full_name}") spec.extensions[0] ||= "-" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/