summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBundlerbot <bot@bundler.io>2018-10-16 22:59:35 +0000
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2019-01-04 20:52:45 +0900
commit027cf38b14313003b9013a7e2add707fd1e6aab1 (patch)
treeb8552b1ed2ba0e9d946a06f0fff7de7e62aa1d72
parentd7089abb6a3c922bfe74199c103e745bb11bd46f (diff)
downloadbundler-pick-regression-fix.tar.gz
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 0646719c4c..c7614e1c43 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