summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBundlerbot <bot@bundler.io>2018-10-16 22:59:35 +0000
committerBundlerbot <bot@bundler.io>2018-10-16 22:59:35 +0000
commit3a69ee35ef3e536ca616770906a4099d40b73c70 (patch)
treeab87c9f4accf7053ef749c4e720e7322cc3d4e57
parent6063718bc6c77b6a16621741f94866d6555f4cee (diff)
parentc209b960dace84a31c6f98de3f51d4dfb9ffa648 (diff)
downloadbundler-3a69ee35ef3e536ca616770906a4099d40b73c70.tar.gz
Merge #6741
6741: Support Windows platform with ruby core repository. r=hsbt a=hsbt ### What was the end-user problem that led to this PR? In Windows environment, ':' is always contained path variable. See our original commit and its message https://github.com/ruby/ruby/commit/f35fb6d36c3218988b17dbeb4412922c23745f0e Co-authored-by: SHIBATA Hiroshi <hsbt@ruby-lang.org>
-rw-r--r--spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index b5fb79ec5d..1091c0b7f3 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -28,7 +28,7 @@ require "bundler/vendored_fileutils"
require "uri"
require "digest"
-if File.expand_path(__FILE__) =~ %r{([^\w/\.-])}
+if File.expand_path(__FILE__) =~ %r{([^\w/\.:\-])}
abort "The bundler specs cannot be run from a path that contains special characters (particularly #{$1.inspect})"
end