Skip to main content
use proper rvm installer
Source Link
mpapis
  • 53.2k
  • 15
  • 124
  • 159

Ack, I didn't mean to post this as a comment on the question. Anyway, if I had to guess, I'd say you installed rvm using sudo or as root. If that is the case, remove it and reinstall without sudo:

sudo rm -rf $HOME/.rvm $HOME/.rvmrc /etc/rvmrc /etc/profile.d/rvm.sh \ /usr/local/rvm /usr/local/bin/rvm sudo /usr/sbin/groupdel rvm # this might fail, it's not that important 

Open new terminal window/tab and make sure rvm is removed:

env | grep rvm 

The output should be empty, sometimes it's needed to relogin, after it's empty you can continue:

bash -s stable < <(curl -ssSL https://raw.githubget.com/wayneeseguin/rvm/master/binscripts/rvm.io | bash -installer)s stable 

It works perfectly fine installed for the local user.

Ack, I didn't mean to post this as a comment on the question. Anyway, if I had to guess, I'd say you installed rvm using sudo or as root. If that is the case, remove it and reinstall without sudo:

sudo rm -rf $HOME/.rvm $HOME/.rvmrc /etc/rvmrc /etc/profile.d/rvm.sh \ /usr/local/rvm /usr/local/bin/rvm sudo /usr/sbin/groupdel rvm # this might fail, it's not that important 

Open new terminal window/tab and make sure rvm is removed:

env | grep rvm 

The output should be empty, sometimes it's needed to relogin, after it's empty you can continue:

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

It works perfectly fine installed for the local user.

Ack, I didn't mean to post this as a comment on the question. Anyway, if I had to guess, I'd say you installed rvm using sudo or as root. If that is the case, remove it and reinstall without sudo:

sudo rm -rf $HOME/.rvm $HOME/.rvmrc /etc/rvmrc /etc/profile.d/rvm.sh \ /usr/local/rvm /usr/local/bin/rvm sudo /usr/sbin/groupdel rvm # this might fail, it's not that important 

Open new terminal window/tab and make sure rvm is removed:

env | grep rvm 

The output should be empty, sometimes it's needed to relogin, after it's empty you can continue:

curl -sSL https://get.rvm.io | bash -s stable 

It works perfectly fine installed for the local user.

Ack, I didn't mean to post this as a comment on the question. Anyway, if I had to guess, I'd say you installed rvm using sudo or as root. If that is the case, remove itremove it and reinstall without sudo.:

sudo rm -rf $HOME/.rvm $HOME/.rvmrc /etc/rvmrc /etc/profile.d/rvm.sh \ /usr/local/rvm /usr/local/bin/rvm sudo /usr/sbin/groupdel rvm # this might fail, it's not that important 

Open new terminal window/tab and make sure rvm is removed:

env | grep rvm 

The output should be empty, sometimes it's needed to relogin, after it's empty you can continue:

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

It works perfectly fine installed for the local user.

Ack, I didn't mean to post this as a comment on the question. Anyway, if I had to guess, I'd say you installed rvm using sudo or as root. If that is the case, remove it and reinstall without sudo. It works perfectly fine installed for the local user

Ack, I didn't mean to post this as a comment on the question. Anyway, if I had to guess, I'd say you installed rvm using sudo or as root. If that is the case, remove it and reinstall without sudo:

sudo rm -rf $HOME/.rvm $HOME/.rvmrc /etc/rvmrc /etc/profile.d/rvm.sh \ /usr/local/rvm /usr/local/bin/rvm sudo /usr/sbin/groupdel rvm # this might fail, it's not that important 

Open new terminal window/tab and make sure rvm is removed:

env | grep rvm 

The output should be empty, sometimes it's needed to relogin, after it's empty you can continue:

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

It works perfectly fine installed for the local user.

Source Link
Mike Yockey
  • 4.6k
  • 26
  • 41

Ack, I didn't mean to post this as a comment on the question. Anyway, if I had to guess, I'd say you installed rvm using sudo or as root. If that is the case, remove it and reinstall without sudo. It works perfectly fine installed for the local user