summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMisty De Meo <mistydemeo@github.com>2016-08-02 12:39:00 +1000
committerMisty De Meo <mistydemeo@github.com>2016-08-02 12:41:40 +1000
commit6117de98bb696a68cc15963b40d9157925e175a2 (patch)
tree25ae50033d7edf613a36f548ea9beb665b9e1291
parent5d236a989f2f582800a754114224465784d662a8 (diff)
downloadbundler-6117de98bb696a68cc15963b40d9157925e175a2.tar.gz
doctor: use Bundler::NULL
-rw-r--r--lib/bundler/cli/doctor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/cli/doctor.rb b/lib/bundler/cli/doctor.rb
index b8aac1a320..8fd862a1c2 100644
--- a/lib/bundler/cli/doctor.rb
+++ b/lib/bundler/cli/doctor.rb
@@ -14,11 +14,11 @@ module Bundler
end
def otool_available?
- system("otool --version 2>&1 >/dev/null")
+ system("otool --version 2>&1 >#{Bundler::NULL}")
end
def ldd_available?
- !system("ldd --help 2>&1 >/dev/null").nil?
+ !system("ldd --help 2>&1 >#{Bundler::NULL}").nil?
end
def dylibs_darwin(path)