未验证 提交 51ab1649 编辑于 作者: Carlo Cabrera's avatar Carlo Cabrera
浏览文件

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.
上级 8aeb2878
......@@ -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"
......
支持 Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册