1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[bundler/bundler] Use join consistently

096e53dfe6
This commit is contained in:
David Rodríguez 2019-08-15 17:01:36 +02:00 committed by Hiroshi SHIBATA
parent 6a299906b4
commit 6506993462
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -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