diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-09 10:20:38 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-09 10:20:38 +0000 |
commit | 85cb9231a82508befab1059b8f4b729257bfd1c2 (patch) | |
tree | a7dc36ad35314fb41d13f413c623e8e5ef5d782a /spec/bundler | |
parent | 067d9e9ce97dd42b8b13eef10031b0fa9cf23a1f (diff) |
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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/bundler')
-rw-r--r-- | spec/bundler/support/rubygems_ext.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/support/rubygems_ext.rb b/spec/bundler/support/rubygems_ext.rb index b484d63eab..5229192165 100644 --- a/spec/bundler/support/rubygems_ext.rb +++ b/spec/bundler/support/rubygems_ext.rb @@ -56,7 +56,7 @@ module Spec 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 |