[bundler/bundler] Consistently use Path over Spec::Path

a4cca66b79
This commit is contained in:
David Rodríguez 2019-08-15 17:26:51 +02:00 committed by Hiroshi SHIBATA
parent aef5509139
commit f88237623f
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -81,7 +81,7 @@ module Spec
no_reqs.map!(&:first)
reqs.map! {|name, req| "'#{name}:#{req}'" }
deps = reqs.concat(no_reqs).join(" ")
gem = Spec::Path.gem_bin
gem = Path.gem_bin
cmd = "#{gem} install #{deps} --no-document --conservative"
puts cmd
system(cmd) || raise("Installing gems #{deps} for the tests to use failed!")