\curl -sSL https://get.rvm.io | bash -s stable
安装rvm时提示:
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
解决方式一
(1)打开网站: https://www.ipaddress.com/
查询一下 raw.githubusercontent.com
对应的IP 地址
(2) 打开/etc/hosts文件,最后一行添加:
185.199.108.133 raw.githubusercontent.com
然后再执行\curl -sSL https://get.rvm.io | bash -s stable
就可以成功安装rvm了