Please use Bundler::NULL, which already does the platform checking. This patch looks great, and I hope to turn on parallel installation by default in a future release.

On Wed, May 22, 2013 at 11:24 PM, Kenta Murata <notifications@github.com>
wrote:

>> @@ -0,0 +1,5 @@
>> +module Bundler
>> +  WINDOWS = RbConfig::CONFIG["host_os"] =~ %r!(msdos|mswin|djgpp|mingw)!
>> +  FREEBSD = RbConfig::CONFIG["host_os"] =~ /bsd/
>> +  NULL    = WINDOWS ? "NUL" : "/dev/null"
> `File::NULL` isn't available on Ruby 1.8.x.
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/bundler/bundler/pull/2481/files#r4354668