summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBundlerbot <bot@bundler.io>2018-10-16 22:59:35 +0000
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2018-11-10 18:13:05 +0000
commit110f841537f96649983b24b3ad002989e7143f26 (patch)
treed127e05e3e068f81b3521732ae6f933f2bc1ce10
parentca4837445a672ae002c4bc0f5dceed31750423f9 (diff)
downloadbundler-110f841537f96649983b24b3ad002989e7143f26.tar.gz
Merge #6741
6741: Support Windows platform with ruby core repository. r=hsbt a=hsbt 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> (cherry picked from commit 3a69ee35ef3e536ca616770906a4099d40b73c70)
-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 21a9a5a050..63787168b5 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -40,7 +40,7 @@ if ENV.select {|k, _v| k =~ /TRAVIS/ }.any? && Gem::Version.new(Gem::VERSION) >
end
end
-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