I am new to Rails and Linux and have installed RVM with sudo.
sudo bash -s stable < <(curl -s
https://raw.github/wayneeseguin/rvm/master/binscripts/rvm-installer)
Now I have to run most commands (like spork) with ‘rvmsudo’. It is redundant, and the way I learned, when something is redundand it is often wrong. How to get rid of this nuance? Is the only way to reinstall RVM? If so, how to properly reinstall?
Use
rvm implodeto uninstall rvm. Check that there are no environment variables left over in/etc/profile,/etc/bash_profileor whatever shell you’re using. Once you do that, then re-install using the single user guide found here.You’ll have to execute the
implodecommand using sudo since you installed it as root.