美文网首页
ruby更换源报bad response Not Found 4

ruby更换源报bad response Not Found 4

作者: 深圳阳光 | 来源:发表于2018-09-14 11:47 被阅读87次

最近在重新安装cocoaPods,在安装ruby后,更换源的时候,按照网上搜索的源输入如下:

$ gem sources -a https://gems.ruby-china.org/

直接报错:

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

然后我将https://gems.ruby-china.org/直接输入到浏览器,原来官方已经更换了域名,如下图

ruby源更换域名更换通告

直接将域名更改后,更换源成功.

$ gem sources -a https://gems.ruby-china.com/

https://gems.ruby-china.com/ added to sources

bogon:~ xxx$ gem sources -l

*** CURRENT SOURCES ***

https://gems.ruby-china.com/

相关文章

网友评论

      本文标题:ruby更换源报bad response Not Found 4

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