diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-08-03 12:24:38 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-08-03 13:14:10 +0900 |
commit | 71794a75db5d3da810146da106baf7eb5e86f745 (patch) | |
tree | c354ae515036c15a96a079712f3b7427c807be18 /lib/bundler/constants.rb | |
parent | 8a1be433e8cac6ca5ded095f6fefbdc1009102b9 (diff) | |
download | ruby-71794a75db5d3da810146da106baf7eb5e86f745.tar.gz |
Merge rubygems/bundler HEAD
Pick from https://github.com/rubygems/rubygems/commit/8331e63263081a6aa690d8025d2957f30c4e814a
Diffstat (limited to 'lib/bundler/constants.rb')
-rw-r--r-- | lib/bundler/constants.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/constants.rb b/lib/bundler/constants.rb index 2e4ebb37ee..8dd8a53815 100644 --- a/lib/bundler/constants.rb +++ b/lib/bundler/constants.rb @@ -2,6 +2,6 @@ module Bundler WINDOWS = RbConfig::CONFIG["host_os"] =~ /(msdos|mswin|djgpp|mingw)/ - FREEBSD = RbConfig::CONFIG["host_os"] =~ /bsd/ + FREEBSD = RbConfig::CONFIG["host_os"].to_s.include?("bsd") NULL = WINDOWS ? "NUL" : "/dev/null" end |