美文网首页Development
Error fetching https://gems.ruby

Error fetching https://gems.ruby

作者: survivorsfyh | 来源:发表于2020-04-20 22:56 被阅读0次

使用 cocoapods 时遇到了如下问题:

Error fetching https://gems.ruby-china.org/:
    bad response Not Found 404 (https://gems.ruby-china.org/specs.4.8.gz)

cocoapods 的原镜像地址 https://gems.ruby-china.org/ 访问 404;
将其旧的镜像地址变更为 https://gems.ruby-china.com/ 地址即可;
具体操作如下:

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

以上便是此次分享的全部内容,希望能对大家有所帮助!

相关文章

网友评论

    本文标题:Error fetching https://gems.ruby

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