merge revision(s) 57412: [Backport #13308]

Update Rubygems 2.6.10

	 * 2ee5bf9fd3
	 * be510dd409

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@57952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2017-03-13 06:58:19 +00:00
parent 94e70ce869
commit b85d2e8a5a
23 changed files with 236 additions and 57 deletions

View file

@ -9,7 +9,7 @@ class Gem::Ext::RakeBuilder < Gem::Ext::Builder
def self.build(extension, directory, dest_path, results, args=[], lib_dir=nil)
if File.basename(extension) =~ /mkrf_conf/i then
cmd = "#{Gem.ruby} #{File.basename extension}"
cmd = "#{Gem.ruby} #{File.basename extension}".dup
cmd << " #{args.join " "}" unless args.empty?
run cmd, results
end