解決RVM install 443

1.在finder菜單欄點擊前往,輸入 ‘/etc’,查找hosts文件,復制去其他文件目錄保留原件

2.打開更改hosts,在最后一行添加“199.232.28.133 raw.githubusercontent.com

image

3.執行命令

curl -L https://raw.githubusercontent.com/wayneeseguin/rvm/master/binscripts/rvm-installer | bash -s stable

4.執行命令

source /Users/allen/.rvm/scripts/rvm

5.查看是否安裝成功 rvm -v


allen@alleniMac ~ % curl -L https://raw.githubusercontent.com/wayneeseguin/rvm/master/binscripts/rvm-installer | bash -s stable
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 24532  100 24532    0     0  26504      0 --:--:-- --:--:-- --:--:-- 26492
Downloading https://github.com/rvm/rvm/archive/1.29.12.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.29.12/1.29.12.tar.gz.asc
Found PGP signature at: 'https://github.com/rvm/rvm/releases/download/1.29.12/1.29.12.tar.gz.asc',
but no GPG software exists to validate it, skipping.
Installing RVM to /Users/allen/.rvm/
    Adding rvm PATH line to /Users/allen/.profile /Users/allen/.mkshrc /Users/allen/.bashrc /Users/allen/.zshrc.
    Adding rvm loading line to /Users/allen/.profile /Users/allen/.bash_profile /Users/allen/.zlogin.
Installation of RVM in /Users/allen/.rvm/ is almost complete:

  * To start using RVM you need to run `source /Users/allen/.rvm/scripts/rvm`
    in all your open shell windows, in rare cases you need to reopen all shell windows.
Thanks for installing RVM ??
Please consider donating to our open collective to help us maintain RVM.

??  Donate: https://opencollective.com/rvm/donate


最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容