欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

Error fetching https://gems.ruby-china.org/: bad response Not Found 404 (https://gems.ruby-china.org/specs.4.8.gz) 报错解决办法

程序员文章站 2022-06-16 21:35:29
执行换源操作 gem source -a https://gems.ruby-china.org/ 时报错: Error fetching https://gems.ruby-china.org/: bad response Not Found 404 (https://gems.ruby-chin ......

执行换源操作 gem source -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)

原因是服务域名更换了,打开报错地址:,会有如下图提示,将org后缀改为com即可

Error fetching https://gems.ruby-china.org/: 	bad response Not Found 404 (https://gems.ruby-china.org/specs.4.8.gz) 报错解决办法

 

解决办法:

将后缀.org改为.com即可

Error fetching https://gems.ruby-china.org/: 	bad response Not Found 404 (https://gems.ruby-china.org/specs.4.8.gz) 报错解决办法

如果刚好解决了你的问题,表扬支持我一下!^_^