summaryrefslogtreecommitdiff
path: root/lib/bundler.rb
diff options
context:
space:
mode:
authorKohei Suzuki <kohei-suzuki@cookpad.com>2013-05-17 09:21:54 +0900
committerKohei Suzuki <kohei-suzuki@cookpad.com>2013-05-23 13:32:41 +0900
commit1d393ab46ead701f14d6b5c137ce5c2b6ba4b781 (patch)
tree79920c3bc772c143378689975382100c58f94f0f /lib/bundler.rb
parentce04e469b883dc74e2338aba055bec38036ad29e (diff)
downloadbundler-1d393ab46ead701f14d6b5c137ce5c2b6ba4b781.tar.gz
Move constants to use it from SharedHelpers
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r--lib/bundler.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index 54137df30d..1223fe6646 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -5,6 +5,7 @@ require 'bundler/gem_path_manipulation'
require 'bundler/rubygems_ext'
require 'bundler/rubygems_integration'
require 'bundler/version'
+require 'bundler/constants'
module Bundler
preserve_gem_path
@@ -64,10 +65,6 @@ module Bundler
class SecurityError < BundlerError; status_code(19) ; end
class LockfileError < BundlerError; status_code(20) ; end
- WINDOWS = RbConfig::CONFIG["host_os"] =~ %r!(msdos|mswin|djgpp|mingw)!
- FREEBSD = RbConfig::CONFIG["host_os"] =~ /bsd/
- NULL = WINDOWS ? "NUL" : "/dev/null"
-
# Internal errors, should be rescued
class VersionConflict < BundlerError
attr_reader :conflicts