diff options
author | Bundlerbot <bot@bundler.io> | 2018-10-16 22:59:35 +0000 |
---|---|---|
committer | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2019-01-04 20:52:45 +0900 |
commit | 027cf38b14313003b9013a7e2add707fd1e6aab1 (patch) | |
tree | b8552b1ed2ba0e9d946a06f0fff7de7e62aa1d72 | |
parent | d7089abb6a3c922bfe74199c103e745bb11bd46f (diff) | |
download | bundler-pick-regression-fix.tar.gz |
Merge #6741pick-regression-fix
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.rb | 2 |
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 |