> rvm install 2.7.2
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/11.1/x86_64/ruby-2.7.2.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Installing requirements for osx.
Updating system...........Failed to update Homebrew, follow instructions at
.
https://docs.brew.sh/Common-Issues
and make sure `brew update` works before continuing.
.
Error running 'requirements_osx_brew_update_system ruby-2.7.2',
please read /Users/tmk/.rvm/log/1620637319_ruby-2.7.2/update_system.log
Requirements installation failed with status: 1.
先运行下面命令,再安装:
rvm autolibs read-only
# 安装指定版本
rvm install 2.7.2
# 切换版本
rvm use 2.7.2
# 查看本地下载
rvm list