aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler/support/helpers.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-15 17:01:36 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-17 17:08:50 +0900
commit6506993462af4f6c4f7ee2e0d3bc27deee989069 (patch)
tree2dd87710540fa618bc968eb8609c84c708e72f01 /spec/bundler/support/helpers.rb
parent6a299906b4bebe1c86bc50a565f47348e735cb8e (diff)
downloadruby-6506993462af4f6c4f7ee2e0d3bc27deee989069.tar.gz
[bundler/bundler] Use `join` consistently
https://github.com/bundler/bundler/commit/096e53dfe6
Diffstat (limited to 'spec/bundler/support/helpers.rb')
-rw-r--r--spec/bundler/support/helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/support/helpers.rb b/spec/bundler/support/helpers.rb
index 70604d7af4..d5e2f43a9b 100644
--- a/spec/bundler/support/helpers.rb
+++ b/spec/bundler/support/helpers.rb
@@ -307,7 +307,7 @@ module Spec
else
Dir.chdir(root) { gem_command! :build, gemspec.to_s }
end
- bundler_path = root + "bundler-#{Bundler::VERSION}.gem"
+ bundler_path = root.join("bundler-#{Bundler::VERSION}.gem")
elsif g.to_s =~ %r{\A(?:[A-Z]:)?/.*\.gem\z}
g
else