os/mac/diagnostic: allow Ruby 2.6.3 on Catalina.
This commit is contained in:
parent
7ed95ab48e
commit
cf34e1bec8
@ -139,7 +139,11 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
def check_ruby_version
|
def check_ruby_version
|
||||||
ruby_version = "2.3.7"
|
ruby_version = if MacOS.version >= :catalina
|
||||||
|
"2.6.3"
|
||||||
|
else
|
||||||
|
"2.3.7"
|
||||||
|
end
|
||||||
return if RUBY_VERSION == ruby_version
|
return if RUBY_VERSION == ruby_version
|
||||||
return if ARGV.homebrew_developer? && OS::Mac.prerelease?
|
return if ARGV.homebrew_developer? && OS::Mac.prerelease?
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user