美文网首页
RubyGems 镜像

RubyGems 镜像

作者: john_chan | 来源:发表于2019-07-25 16:30 被阅读0次

    今天使用react native 生成项目时,出现

    ? CocoaPods (https://cocoapods.org/) is not installed. It's necessary for iO

    S project to run correctly. Do you want to install it? 

    输入 Y之后并不能安装成功

    然后我发现https://ruby.taobao.org/不能使用了

    于是我进入https://ruby.taobao.org/

    -------------------------------------------------------------------------------------------------

    RubyGems 镜像

    RubyGems 镜像的管理工作以后将交由 Ruby China 负责,以便能有更多的社区爱好者参与进来,保持持续发展。

    本站将不在继续维护,本站的维护者已经或即将参与到 Ruby China 镜像 的维护工作中,目前已将安装请求重定向到 Ruby China 镜像,请大家注意更换本地的 Gem Source。

    如何使用?

    $ gem sources --add https://gems.ruby-china.org/ --remove https://rubygems.org/

    $ gem sources -l

    *** CURRENT SOURCES ***

    https://gems.ruby-china.org

    # 请确保只有 gems.ruby-china.org

    $ gem install rails

    ---------------------------------------------------------------------------------------------------

    于是我换成https://gems.ruby-china.org

    结果安装pods 还是失败

    你逗我呢 于是我看了一个搞笑的事情

    ========================================================

    服务域名更换公告

    因域名备案问题,.org 域名无法继续提供 RubyGems 镜像服务,我们提供 .com 代替 .org 的域名,其他一切不变!!

    详情访问

    https://gems.ruby-china.com

    ========================================================

    好吧!

    gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/

    相关文章

      网友评论

          本文标题:RubyGems 镜像

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