1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

No more ubygems in trunk

[Fix GH-1711]
Author:    MSP-Greg <MSP-Greg@users.noreply.github.com>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2017-10-06 00:15:08 +00:00
parent e810b5c968
commit 9de6c712b6
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ class Gem::Ext::RakeBuilder < Gem::Ext::Builder
rake = ENV['rake']
rake ||= begin
"#{Gem.ruby} -rubygems #{Gem.bin_path('rake', 'rake')}"
"#{Gem.ruby} -rrubygems #{Gem.bin_path('rake', 'rake')}"
rescue Gem::Exception
end

View file

@ -157,7 +157,7 @@ module Spec
args = args.gsub(/(?=")/, "\\")
args = %("#{args}")
end
gem = ENV['BUNDLE_GEM'] || "#{Gem.ruby} -rubygems -S gem --backtrace"
gem = ENV['BUNDLE_GEM'] || "#{Gem.ruby} -rrubygems -S gem --backtrace"
sys_exec("#{gem} #{command} #{args}")
end
bang :gem_command