summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2018-10-16 10:48:52 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2018-10-16 10:49:28 +0900
commitc209b960dace84a31c6f98de3f51d4dfb9ffa648 (patch)
tree7f9f5955855683f6d89bcade6cd8d05f493e3e2d
parent27e88538960817a64a510f840c810654f1a7fa3e (diff)
downloadbundler-support-windows.tar.gz
In windows environment, ':' is always contained path variable.support-windows
ref. https://github.com/ruby/ruby/commit/f35fb6d36c3218988b17dbeb4412922c23745f0e
-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 228b9e5aa3..b6408613da 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