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

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

解决方案:
执行换源操作 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)

原因是服务域名更换了,打开报错地址:https://gems.ruby-china.org/,会有如下图提示,将org后缀改为com即可。
在这里插入图片描述
解决办法:

将后缀.org改为.com即可

猜你喜欢

转载自blog.csdn.net/yfanjy/article/details/104819954