aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/doctor.rb
diff options
context:
space:
mode:
authorJack Nagel2013-12-09 13:44:45 -0600
committerJack Nagel2013-12-09 13:44:45 -0600
commit43091a3c40e36553ac5459974093baeb97e3e0d2 (patch)
treedd49561a5269f94b067d246f843650585bcb40f7 /Library/Homebrew/cmd/doctor.rb
parente5853c6cde12f6da423f15a65261520fe56cac62 (diff)
downloadhomebrew-43091a3c40e36553ac5459974093baeb97e3e0d2.tar.bz2
Silence some Ruby 2.1 warnings
Diffstat (limited to 'Library/Homebrew/cmd/doctor.rb')
-rw-r--r--Library/Homebrew/cmd/doctor.rb2
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