diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-17 15:35:46 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-28 17:40:22 +0100 |
commit | 1eaba3a97cc3bc5a7435a38a1b029fc9d52b088d (patch) | |
tree | 6fb00062a9aa40197e593fedb3e29f24e2fe7708 /Rakefile | |
parent | 2167156db020fbe6ce74759cbf62ad1ceb651fb7 (diff) | |
download | bundler-1eaba3a97cc3bc5a7435a38a1b029fc9d52b088d.tar.gz |
Remove NULL_DEVICE
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -3,8 +3,7 @@ $:.unshift File.expand_path("../lib", __FILE__) require "benchmark" -NULL_DEVICE = (Gem.win_platform? ? "NUL" : "/dev/null") -RUBYGEMS_REPO = if `git -C "#{File.expand_path("..")}" remote --verbose 2> #{NULL_DEVICE}` =~ /rubygems/i +RUBYGEMS_REPO = if `git -C "#{File.expand_path("..")}" remote --verbose 2> #{IO::NULL}` =~ /rubygems/i File.expand_path("..") else File.expand_path("tmp/rubygems") |