diff options
| author | Jack Nagel | 2014-08-27 15:46:47 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-27 15:47:09 -0500 |
| commit | fe148adcf3ca854d7a99d08cb7c5c6f858c82bc8 (patch) | |
| tree | 7a0c139c434ad01bafeb7eeed8d04ad752c70026 /Library | |
| parent | bd58c1a9ed34dcbc25b6c84f9d5bafdb86466aeb (diff) | |
| download | homebrew-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.rb | 2 |
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 |
