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

Posted joyce306

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error fetching https://gems.ruby-china.org/: bad response Not Found 404 (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/ 访问不了

域名改为

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

 所以替换 ruby-china 提供镜像,正确的操作是:

$ sudo gem update --system

$ gem sources --remove https://rubygems.org/

$ gem sources --remove https://ruby.taobao.org/       //如果安装了淘宝的镜像

//等有反应之后再敲入以下命令

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

为了验证你的Ruby镜像是并且仅是ruby-china,可以用以下命令查看:

$ gem sources -l

*** CURRENT SOURCES ***

 

https://gems.ruby-china.com



 




以上是关于Error fetching https://gems.ruby-china.org/: bad response Not Found 404 (https://gems.ruby-china.org的主要内容,如果未能解决你的问题,请参考以下文章

ERROR: Error fetching remote repo 'origin' 错误解决

Kafka发送消息报Error while fetching metadata

在 chrome 开发工具中隐藏 401 console.error 在 fetch() 调用中得到 401 [重复]

解决Jenkins上git出现的“ERROR: Error fetching remote repo 'origin'”问题

kafkaFlink消费kafka Error sending fetch request

eth0: error fetching interface information: Device not found