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

On Apple Silicon: ruby-build: definition not found: 3.0.0

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

ruby-build: definition not found: 3.0.0

很明显,ruby 3 has been released more than a month ago,所以我猜团队 运行 遇到问题 building/packaging Apple Silicon (M1) 或者还没有人有能力这样做.我将如何跟进此事?

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

ASDF 用户,尝试 asdf plugin update ruby 然后 asdf install ruby the_ruby_version_here