How do I fix a RVM install that was done using SUDO

。_饼干妹妹 提交于 2019-12-02 17:05:31

问题


A member of our team installed RVM using sudo. We removed ~/.rvm and /usr/local/rvm but we are unable to install RVM.

This :

bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )

Gives the following error:

mkdir: /usr/local/rvm: Permission denied

Which is weird, since we are not using sudo this time.

Am not sure where could be the error. What could I check?


回答1:


Remove also

/etc/rvmrc 

directory and then install RVM

Should Success install !!!



来源:https://stackoverflow.com/questions/7999439/how-do-i-fix-a-rvm-install-that-was-done-using-sudo

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