Require Ruby 2.6.10

This commit is contained in:
Bo Anderson 2023-04-12 12:22:20 +01:00
parent 1b0bd8a6a9
commit e2aae0fa63
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65
4 changed files with 5 additions and 4 deletions

View File

@ -266,7 +266,7 @@ DEPENDENCIES
warning
RUBY VERSION
ruby 2.6.8p205
ruby 2.6.10p210
BUNDLED WITH
2.3.26

View File

@ -540,7 +540,7 @@ 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 "120000" ]]
if [[ "${HOMEBREW_MACOS_VERSION_NUMERIC}" -lt "120601" ]]
then
unset HOMEBREW_MACOS_SYSTEM_RUBY_NEW_ENOUGH
else

View File

@ -206,7 +206,6 @@ module Homebrew
def check_ruby_version
return if RUBY_VERSION == HOMEBREW_REQUIRED_RUBY_VERSION
return if RUBY_VERSION == "2.6.10" # TODO: require 2.6.10
return if Homebrew::EnvConfig.developer? && OS::Mac.version.prerelease?
<<~EOS

View File

@ -1,4 +1,6 @@
export HOMEBREW_REQUIRED_RUBY_VERSION=2.6.8
# When bumping, run `brew vendor-gems --update=--ruby`
# When bumping to a new major/minor version, also update the bounds in the Gemfile
export HOMEBREW_REQUIRED_RUBY_VERSION=2.6.10
# HOMEBREW_LIBRARY is from the user environment
# shellcheck disable=SC2154