I know other people have had issues installing RVM, but I've looked into their questions/answers and it hasn't helped. I'm using Ubuntu 11.10, and am following the quick install directions here: https://rvm.beginrescueend.com/rvm/install/
Step One works nicely:
~$ bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
Downloading RVM from wayneeseguin branch stable
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 125 100 125 0 0 909 0 --:--:-- --:--:-- --:--:-- 1524
100 799k 100 799k 0 0 1059k 0 --:--:-- --:--:-- --:--:-- 1059k
Upgrading the RVM installation in /home/nsmith/.rvm/
RVM sourcing line found in: /home/nsmith/.bash_history.
Upgrade Notes:
* No new notes to display.
# RVM: Shell scripts enabling management of multiple ruby environments.
# RTFM: https://rvm.beginrescueend.com/
# HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
# Screencast: http://screencasts.org/episodes/how-to-use-rvm
# In case of any issues read output of 'rvm requirements' and/or 'rvm notes'
Upgrade of RVM in /home/nsmith/.rvm/ is complete.
# nsmith,
#
# Thank you for using RVM!
# I sincerely hope that RVM helps to make your life easier and more enjoyable!!!
#
# ~Wayne
Lovely. Step 2 also runs fine, with no output. Step 3 returns:
The program 'rvm' is currently not installed. You can install it by typing:
sudo apt-get install ruby-rvm
From what I've found out, this is probably because I initially tried the first step with sudo, and screwed everything up. I likely screwed things up further by taking the bait and installing with sudo apt-get install ruby-rvm
, which is apparently outdated or broken.
Looking for answers led me to:
http://beginrescueend.com/support/troubleshooting/
Where I executed the .sh file outlined under the section "How do I completely clean out all traces of RVM from my system, including for system wide installs?" I also followed the instructions and checked .bashrc, .bash_profiles, .profiles etc for rvm mentions and removed them.
I also tried the answer I found at the StackOverflow question "How can I uninstall Ruby on ubuntu?". Namely, sudo aptitude purge ruby
and then, since I didn't actually yet have ruby, sudo aptitude purge ruby-rvm
. I've also tried sudo apt-get purge ruby-rvm
Lastly, I've tried the instructions here @mkoby.com entitled "completely-removing-rvm". This basically says remove .rvm* files and run sudo groupdel rvm
I've tried a lot to remove rvm from my system so that I can run a clean install, without sudo, and finally get things going. Does anyone have a suggestion? I'd really appreciate it.