Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What else can I try?

user15:~ durrantm$ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
user15:~ durrantm$ cat .bash_profile 
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
user15:~ durrantm$ type rvm | head -n1
-bash: type: rvm: not found
user15:~ durrantm$ rvm -v
-bash: rvm: command not found
user15:~ durrantm$

Also this did not help...

sudo gem install rvm -s http://gemcutter.org/ Password: ERROR: While executing gem ... (Gem::RemoteSourceException) HTTP Response 302 fetching http://gemcutter.org/yaml users-powerbook-g4-15:~ durrantm$

share|improve this question

migrated from stackoverflow.com Oct 5 '11 at 3:55

This question came from our site for professional and enthusiast programmers.

    
did you close and reopen your terminal? –  Cygnusx1 Oct 4 '11 at 19:01
    
which version are you trying to install? latest? –  Tilo Oct 4 '11 at 19:04
    
yes i reopened. Yes the latest version. How do I specify previous? –  Michael Durrant Oct 4 '11 at 21:44

2 Answers 2

up vote 1 down vote accepted
sudo rm -rf $HOME/rvm-installer $HOME/.rvm $HOME/.rvmrc /etc/rvmrc /etc/profile.d/rvm.sh /usr/local/rvm /usr/local/bin/rvm*

sudo rm -f /usr/local/share/man/man1/rvm.1*

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

echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile

logout

Log back in then execute

type rvm | head -n1

which should return

rvm is a function

You should now be able to use RVM with no issues. Please see https://rvm.beginrescueend.com/rvm/install/ and the additional documentation there for how to work with gemsets and to install additional rubies and the like. have fun!

share|improve this answer

worked for me before. could be a problem with the latest RVM release... try the previous RVM version

looks like you made the modifications to .bashrc which are required for RVM? After you make these changes, you will need to start a new Bash shell , e.g. open a new terminal window

share|improve this answer
    
yes i opened a new shell. How do i specify version? –  Michael Durrant Oct 4 '11 at 21:44
    
sorry, i was on my iPad.. let me check... –  Tilo Oct 4 '11 at 21:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.