From b0939478d17480740bddcbf1a902de128501433d Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Thu, 21 Oct 2021 20:06:34 +0800 Subject: [PATCH] extend/os/mac/diagnostic: fix unqualified macOS version reference Currently, this says something like Ruby version 2.6.8 is unsupported on 12. which is a little cryptic. Let's change that to say Ruby version 2.6.8 is unsupported on macOS 12. --- Library/Homebrew/extend/os/mac/diagnostic.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb index 17b19f27fa..5c7c69e4d7 100644 --- a/Library/Homebrew/extend/os/mac/diagnostic.rb +++ b/Library/Homebrew/extend/os/mac/diagnostic.rb @@ -212,7 +212,7 @@ module Homebrew return if Homebrew::EnvConfig.developer? && OS::Mac.version.prerelease? <<~EOS - Ruby version #{RUBY_VERSION} is unsupported on #{MacOS.version}. Homebrew + Ruby version #{RUBY_VERSION} is unsupported on macOS #{MacOS.version}. Homebrew is developed and tested on Ruby #{required_version}, and may not work correctly on other Rubies. Patches are accepted as long as they don't cause breakage on supported Rubies.