summaryrefslogtreecommitdiff
path: root/lib/bundler/constants.rb
blob: 5b1c0a8cb1e30881371e26ac1543bbf1f93b9d51 (plain)
1
2
3
4
5
6
# frozen_string_literal: true
module Bundler
  WINDOWS = RbConfig::CONFIG["host_os"] =~ /(msdos|mswin|djgpp|mingw)/
  FREEBSD = RbConfig::CONFIG["host_os"] =~ /bsd/
  NULL    = WINDOWS ? "NUL" : "/dev/null"
end