尝试通过RVM安装Ruby 3.0.0时出错

s3fp2yjn  于 2023-08-04  发布在  Ruby
关注(0)|答案(1)|浏览(208)

当我试图通过RVM升级Ruby时,我会遇到这样一个无休止的循环:

Warning, new version of rvm available '1.29.12-next', you are using older version '1.29.3'.
You can disable this warning with:    echo rvm_autoupdate_flag=0 >> ~/.rvmrc
You can enable  auto-update  with:    echo rvm_autoupdate_flag=2 >> ~/.rvmrc
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/11.2/x86_64/ruby-3.0.0.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Error: Calling `brew search` with no arguments to output formulae is disabled! Use `brew formulae` instead.
Error: Calling `brew search` with no arguments to output formulae is disabled! Use `brew formulae` instead.
Error: Calling `brew search` with no arguments to output formulae is disabled! Use `brew formulae` instead.
Error: Calling `brew search` with no arguments to output formulae is disabled! Use `brew formulae` instead.
Error: Calling `brew search` with no arguments to output formulae is disabled! Use `brew formulae` instead.

字符串
有没有其他方法可以做到这一点?

bq3bfh9z

bq3bfh9z1#

尝试使用自制软件运行'brew upgrade ruby'。这将使其升级到最新的Ruby版本。

相关问题