brew.sh: set HOMEBREW_RUBY3 earlier
This commit is contained in:
parent
189d709c41
commit
6502524456
@ -502,6 +502,11 @@ case "$*" in
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ -n "${HOMEBREW_DEVELOPER}" ]]
|
||||
then
|
||||
export HOMEBREW_RUBY3="1"
|
||||
fi
|
||||
|
||||
# TODO: bump version when new macOS is released or announced and update references in:
|
||||
# - docs/Installation.md
|
||||
# - https://github.com/Homebrew/install/blob/HEAD/install.sh
|
||||
@ -945,11 +950,6 @@ then
|
||||
export HOMEBREW_SORBET_RUNTIME="1"
|
||||
fi
|
||||
|
||||
if [[ -n "${HOMEBREW_DEVELOPER}" ]]
|
||||
then
|
||||
export HOMEBREW_RUBY3="1"
|
||||
fi
|
||||
|
||||
if [[ -f "${HOMEBREW_LIBRARY}/Homebrew/cmd/${HOMEBREW_COMMAND}.sh" ]]
|
||||
then
|
||||
HOMEBREW_BASH_COMMAND="${HOMEBREW_LIBRARY}/Homebrew/cmd/${HOMEBREW_COMMAND}.sh"
|
||||
|
Loading…
x
Reference in New Issue
Block a user