Install Portable Ruby on native ARM installs
The previous commit only prevented the installation of an Intel Portable Ruby into `/opt/homebrew` prefix. Let's actually install an ARM64 Portable Ruby there too.
This commit is contained in:
parent
8aeb28781c
commit
51ab1649fb
@ -23,7 +23,7 @@ then
|
||||
then
|
||||
ruby_FILENAME="portable-ruby-2.6.8.yosemite.bottle.tar.gz"
|
||||
ruby_SHA="0cb1cc7af109437fe0e020c9f3b7b95c3c709b140bde9f991ad2c1433496dd42"
|
||||
elif [[ "${HOMEBREW_PROCESSOR}" == "arm64" ]]
|
||||
elif [[ "$(sysctl -n machdep.cpu.brand_string)" == "Apple"* ]]
|
||||
then
|
||||
ruby_FILENAME="portable-ruby-2.6.8.arm64_big_sur.bottle.tar.gz"
|
||||
ruby_SHA="f2d5cab5a4dd49e5b3de780a3cd0a1f61642fea247d1c25aa40cd43f1be290b5"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user