【问题标题】:Error when trying to install Ruby 3.0.0 through RVM尝试通过 RVM 安装 Ruby 3.0.0 时出错
【发布时间】:2021-07-02 20:36:05
【问题描述】:

我在尝试通过 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.

我还有其他方法可以做到这一点吗?

【问题讨论】:

    标签: ruby macos command-line-interface homebrew rvm


    【解决方案1】:

    尝试通过运行“brew upgrade ruby​​”来使用自制软件。这应该将其升级到最新的 Ruby 版本。

    【讨论】:

    • 做到了。谢谢!
    猜你喜欢
    • 1970-01-01
    • 2018-12-14
    • 2013-07-29
    • 2013-07-11
    • 2011-12-10
    • 2013-01-18
    • 1970-01-01
    • 1970-01-01
    • 2013-09-27
    相关资源
    最近更新 更多