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
commitb46f8caa8f1d0ef15925b5678542ee3fd6ac0da6 (patch)
tree72169b2249b0c6a3ce3415a05d6a67f172f4a0b2 /Library
parentf7f8ca45fca35e04b962e847cc51e8ce4385ceae (diff)
downloadbrew-b46f8caa8f1d0ef15925b5678542ee3fd6ac0da6.tar.bz2
Object#methods returns an array of symbols on 1.9+
Fixes Homebrew/homebrew#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