安装RVM报错:Failed to connect to raw.githubusercontent.com port 443: Connection refused

亲测有用!!!

sudo vim /etc/hosts

199.232.28.133 raw.githubusercontent.com

贴在最后一行

WQ

保存退出

然后依次执行:

$ gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB

$ command curl -sSL https://rvm.io/mpapis.asc | gpg --import -

$ command curl -sSL https://rvm.io/pkuczynski.asc | gpg --import -

$ curl -L get.rvm.io | bash -s stable       

你可能感兴趣的:(安装RVM报错:Failed to connect to raw.githubusercontent.com port 443: Connection refused)