bundle-new/lib/bundler/constants.rb

6 lines
183 B
Ruby
Raw Normal View History

2019-10-06 15:45:34 +00:00
module Bundler
WINDOWS = RbConfig::CONFIG["host_os"] =~ %r!(msdos|mswin|djgpp|mingw)!
FREEBSD = RbConfig::CONFIG["host_os"] =~ /bsd/
NULL = WINDOWS ? "NUL" : "/dev/null"
end