summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-04 11:14:26 +0100
committerGitHub <noreply@github.com>2019-03-04 11:14:26 +0100
commit4d7a1c8fc0874b7ba0db74b49e54947a0178d102 (patch)
tree45fce8b9b67f9fa3220d0b13f6ae2833f0cbe4b4
parent6464fc09a16d1bf226dc3f5163e63136bee6692a (diff)
downloadbundler-4d7a1c8fc0874b7ba0db74b49e54947a0178d102.tar.gz
Update spec/support/helpers.rb
Co-Authored-By: janpio <piotrowski+github@gmail.com>
-rw-r--r--spec/support/helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb
index d9ccd86f63..695409940b 100644
--- a/spec/support/helpers.rb
+++ b/spec/support/helpers.rb
@@ -318,7 +318,7 @@ module Spec
Dir.chdir(root) { gem_command! :build, gemspec.to_s }
end
bundler_path = root + "bundler-#{Bundler::VERSION}.gem"
- elsif g.to_s =~ %r{\A[A-Z]?:/.*\.gem\z}
+ elsif g.to_s =~ %r{\A(?:[A-Z]:)?/.*\.gem\z}
g
else
"#{gem_repo}/gems/#{g}.gem"