I just installed rvm in my machine using the following command
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
and got this in my terminal
Installation of RVM to /home/rahul/.rvm/ is complete.
When I go to /home/rahul/.rvm/, I am able to see all the necessary folders but when I give rvm command in the terminal, I get this error
rvm --version
No command 'rvm' found, but there are 19 similar ones
rvm: command not found
How can I fix it?
EDIT
I have also added the following lines in my bashrc
if [[ -n "$PS1" ]]; then
if [[ -s $HOME/.rvm/scripts/rvm ]] ; then source $HOME/.rvm/scripts/rvm ; fi
fi
Did you reload your shell or open a new terminal window?
Did you follow the diagnostics on the RVM install page, in particular the section “Troubleshooting Your Install”, checking to see if RVM is known as a function? You should see something like this: