美文网首页
Ruby镜像源

Ruby镜像源

作者: iOS乐乐 | 来源:发表于2024-08-01 17:51 被阅读0次

    一.查看镜像源

    gem sources
    

    二.删除

    三.替换

    gem sources --add https://mirrors.tuna.tsinghua.edu.cn/rubygems/
    

    brew install fastlane 安装失败

    Warning: You are using macOS 14.
    We do not provide support for this pre-release version.
    You will encounter build failures with some formulae.
    Please create pull requests instead of asking for help on Homebrew's GitHub,
    Twitter or any other official channels. You are responsible for resolving
    any issues you experience while you are running this
    pre-release version.
    
    Error: ruby: unknown or unsupported macOS version: :dunno
    

    更新系统到macOS14后未更新brew环境

    执行更新命令
     cd "$(brew --repo)" && git fetch && git reset --hard origin/master && brew update
    
    

    再次安装brew install fastlane 成功了

    相关文章

      网友评论

          本文标题:Ruby镜像源

          本文链接:https://www.haomeiwen.com/subject/drwohjtx.html