MAC上尝试用RVM升级Ruby更新Ruby失败解决办法: No binary rubies available for: osx/11.1/x86_64/ruby-2.7.2.

Posted Mars-xq

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MAC上尝试用RVM升级Ruby更新Ruby失败解决办法: No binary rubies available for: osx/11.1/x86_64/ruby-2.7.2.相关的知识,希望对你有一定的参考价值。

> 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

以上是关于MAC上尝试用RVM升级Ruby更新Ruby失败解决办法: No binary rubies available for: osx/11.1/x86_64/ruby-2.7.2.的主要内容,如果未能解决你的问题,请参考以下文章

mac下升级ruby环境版本

(Mac 终端)尝试使用 RVM 安装最新的 ruby​​ 时出现“系统”消息

RVM:在 Mac OSX El Capitan 上安装最新版本的 ruby​​ 失败

Mac OS 10.7.5用RVM安装ruby失败?是gcc的问题吗

Mac OS 10.7.5用RVM安装ruby失败?是gcc的问题吗

Ruby升级的最新方法