summaryrefslogtreecommitdiff
path: root/spec/bundler
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-15 17:26:51 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-17 17:08:51 +0900
commitf88237623f9131a9a07a4dd7ffde8c758e63e32c (patch)
treed60af663cccc3d31289fd3a1eb528d565ec771bc /spec/bundler
parentaef5509139abd34f9983fa00895f91ea2801f088 (diff)
[bundler/bundler] Consistently use `Path` over `Spec::Path`
https://github.com/bundler/bundler/commit/a4cca66b79
Diffstat (limited to 'spec/bundler')
-rw-r--r--spec/bundler/support/rubygems_ext.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/support/rubygems_ext.rb b/spec/bundler/support/rubygems_ext.rb
index 21916bd17d..aa04c3d00e 100644
--- a/spec/bundler/support/rubygems_ext.rb
+++ b/spec/bundler/support/rubygems_ext.rb
@@ -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!")