在 Apple Silicon 上:ruby-build:未找到定义:3.0.0

时间:2021-01-31 19:36:09

标签: ruby apple-silicon asdf-vm

当我尝试安装最新的 ruby​​ (3.0.0) 时,它失败了:

ruby-build: definition not found: 3.0.0

很明显,ruby 3 has been released more than a month ago,所以我猜团队在为 Apple Silicon (M1) 构建/打包它时遇到了问题,或者没有人有足够的带宽来这样做。我将如何跟进此事?

1 个答案:

答案 0 :(得分:2)

你试过brew update && brew upgrade rbenv ruby-build吗? That may help you get the latest available version of Ruby。你可以试试rbenv install --list看看你有什么可用的。