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
This commit is contained in:
parent
067d9e9ce9
commit
85cb9231a8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user