diff options
| author | Jack Nagel | 2013-12-09 13:44:45 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-12-09 13:44:45 -0600 |
| commit | 109e9dc58bb71d9b17c10c28d434556b56c08b1c (patch) | |
| tree | 1769c553361f70c02bda0de66599b66d19e8b2ff /Library/Homebrew/cmd | |
| parent | 08ff164edd5fa33f8cfa93a83dbc5bdad9975275 (diff) | |
| download | brew-109e9dc58bb71d9b17c10c28d434556b56c08b1c.tar.bz2 | |
Silence some Ruby 2.1 warnings
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 569f44d73..15922275d 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -521,7 +521,7 @@ def check_user_path_3 end def check_user_curlrc - if %w[CURL_HOME HOME].any?{|key| ENV[key] and File.exists? "#{ENV[key]}/.curlrc" } then <<-EOS.undent + if %w[CURL_HOME HOME].any?{|key| ENV[key] and File.exist? "#{ENV[key]}/.curlrc" } then <<-EOS.undent You have a curlrc file If you have trouble downloading packages with Homebrew, then maybe this is the problem? If the following command doesn't work, then try removing |
