diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-11-13 07:57:02 +0900 |
---|---|---|
committer | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2019-11-13 10:19:51 +0900 |
commit | bb9ecd026a6cadd5d0f85ac061649216806ed935 (patch) | |
tree | 237975b9702a837fd0a8d24575f1edadb4d773d0 /spec/bundler/support/helpers.rb | |
parent | 00d56bdf66a3aeaadbc84196aacbd8d4e698cf79 (diff) | |
download | ruby-bb9ecd026a6cadd5d0f85ac061649216806ed935.tar.gz |
Merge Bundler 2.1.0.pre3 released version
Diffstat (limited to 'spec/bundler/support/helpers.rb')
-rw-r--r-- | spec/bundler/support/helpers.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/bundler/support/helpers.rb b/spec/bundler/support/helpers.rb index 8bf76bba89..911f734d8b 100644 --- a/spec/bundler/support/helpers.rb +++ b/spec/bundler/support/helpers.rb @@ -110,7 +110,6 @@ module Spec env["PATH"].gsub!("#{Path.root}/exe", "") if env["PATH"] && system_bundler requires = options.delete(:requires) || [] - requires << "support/rubygems" requires << "support/hax" artifice = options.delete(:artifice) do @@ -144,7 +143,7 @@ module Spec end end.join - cmd = "#{sudo} #{Gem.ruby} --disable-gems #{load_path_str} #{requires_str} #{bundle_bin} #{cmd}#{args}" + cmd = "#{sudo} #{Gem.ruby} #{load_path_str} #{requires_str} #{bundle_bin} #{cmd}#{args}" sys_exec(cmd, env) {|i, o, thr| yield i, o, thr if block_given? } end bang :bundle |