diff options
author | Misty De Meo <mistydemeo@github.com> | 2016-08-02 12:39:00 +1000 |
---|---|---|
committer | Misty De Meo <mistydemeo@github.com> | 2016-08-02 12:41:40 +1000 |
commit | 6117de98bb696a68cc15963b40d9157925e175a2 (patch) | |
tree | 25ae50033d7edf613a36f548ea9beb665b9e1291 | |
parent | 5d236a989f2f582800a754114224465784d662a8 (diff) | |
download | bundler-6117de98bb696a68cc15963b40d9157925e175a2.tar.gz |
doctor: use Bundler::NULL
-rw-r--r-- | lib/bundler/cli/doctor.rb | 4 |
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) |