ruby-changes:47674
From: nobu <ko1@a...>
Date: Sat, 9 Sep 2017 19:20:43 +0900 (JST)
Subject: [ruby-changes:47674] nobu:r59790 (trunk): rubygems_ext.rb: use BUNDLE_GEM
nobu 2017-09-09 19:20:38 +0900 (Sat, 09 Sep 2017) New Revision: 59790 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59790 Log: rubygems_ext.rb: use BUNDLE_GEM * spec/bundler/support/rubygems_ext.rb (install_gems): use BUNDLE_GEM set in Makefile.in instead of the installed command. Modified files: trunk/spec/bundler/support/rubygems_ext.rb Index: spec/bundler/support/rubygems_ext.rb =================================================================== --- spec/bundler/support/rubygems_ext.rb (revision 59789) +++ spec/bundler/support/rubygems_ext.rb (revision 59790) @@ -56,7 +56,7 @@ module Spec https://github.com/ruby/ruby/blob/trunk/spec/bundler/support/rubygems_ext.rb#L56 no_reqs.map!(&:first) reqs.map! {|name, req| "'#{name}:#{req}'" } deps = reqs.concat(no_reqs).join(" ") - cmd = "gem install #{deps} --no-rdoc --no-ri --conservative" + cmd = "#{ENV['BUNDLE_GEM'] || 'gem'} install #{deps} --no-rdoc --no-ri --conservative" puts cmd system(cmd) || raise("Installing gems #{deps} for the tests to use failed!") end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/