aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-08-27 15:46:47 -0500
committerJack Nagel2014-08-27 15:47:09 -0500
commitfe148adcf3ca854d7a99d08cb7c5c6f858c82bc8 (patch)
tree7a0c139c434ad01bafeb7eeed8d04ad752c70026 /Library
parentbd58c1a9ed34dcbc25b6c84f9d5bafdb86466aeb (diff)
downloadhomebrew-fe148adcf3ca854d7a99d08cb7c5c6f858c82bc8.tar.bz2
Object#methods returns an array of symbols on 1.9+
Fixes #31926.
Diffstat (limited to 'Library')
-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 dcdc34a42..28474baeb 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -1126,7 +1126,7 @@ module Homebrew
methods = if ARGV.named.empty?
# put slowest methods last
- checks.methods.sort << "check_for_linked_keg_only_brews" << "check_for_outdated_homebrew"
+ checks.methods.map(&:to_s).sort << "check_for_linked_keg_only_brews" << "check_for_outdated_homebrew"
else
ARGV.named
end.grep(/^check_/).reverse.uniq.reverse