Skip to content
Snippets Groups Projects
Unverified Commit cf1e4fbc authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #9442 from MikeMcQuaid/catalina-ruby-fix

brew.sh: don't allow system Ruby on Catalina.
parents ed7df8f9 17945934
No related branches found
No related tags found
No related merge requests found
......@@ -341,7 +341,9 @@ then
# Set a variable when the macOS system Ruby is new enough to avoid spawning
# a Ruby process unnecessarily.
if [[ "$HOMEBREW_MACOS_VERSION_NUMERIC" -lt "101500" ]]
# On Catalina the system Ruby is technically new enough but don't allow it:
# https://github.com/Homebrew/brew/issues/9410
if [[ "$HOMEBREW_MACOS_VERSION_NUMERIC" -lt "101600" ]]
then
unset HOMEBREW_MACOS_SYSTEM_RUBY_NEW_ENOUGH
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment