brew unlink ruby-build brew install --HEAD ruby-build rbenv install 2.7.2 これで行けました 参考記事 Need help installing Ruby 2.7.2 on Mac