Errors installing RVM

为君一笑 提交于 2019-12-02 04:38:17
Dave

Okay so apparently my old answer wouldn't actually give you a functioning rvm installation. There appears to be a very recent bug that I will report. In the meantime, follow the instructions here:

http://rvm.io/rvm/install/

Under the section "Installing / updating the latest rvm from the latest source tarball"

Old Answer:

Try downloading the rvm install script: curl http://rvm.beginrescueend.com/releases/rvm-install-head > rvm-install-head

Then find the line: rvm_path="${rvm_path:-"$HOME/.rvm"}"

and add "export" in the front: export rvm_path="${rvm_path:-"$HOME/.rvm"}"

Save and run the modified file: bash < rvm-install-head

Wayne E. Seguin

Only use RVM 1.5.1+ or latest head.

You may now install as user or root. Do not use the system-wide script any longer.

bash < <( curl -s -k https://rvm.beginrescueend.com/install/rvm )

For the most recent information and best practices on the correct way to install RVM, please read the documentation website. Also be sure to read the RVM basics documentation.

~Wayne

It looks like 1.3.0 is broken for the moment. Checkout 1.2.9 in ~/.rvm/src/rvm for a working version.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!