美文网首页
解决cocopods 升级Ruby环境报错Failed to c

解决cocopods 升级Ruby环境报错Failed to c

作者: 90后的思维 | 来源:发表于2020-12-02 11:11 被阅读0次

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused


终端 输入:sudo vim /etc/hosts

# 加上一行

199.232.28.133 raw.githubusercontent.com

esc ——> :wq ->回车

再执行一次就可以了,域名被污染了,不可用

相关文章

网友评论

      本文标题:解决cocopods 升级Ruby环境报错Failed to c

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