I'm a total rails newb and is trying to install RVM. The terminal tells me that RVM installed just fine but when I try commands like "rvm notes" or "rvm install 1.9.2" I get: "-bash: rvm: command not found"
Does anyone know why?
I'm a total rails newb and is trying to install RVM. The terminal tells me that RVM installed just fine but when I try commands like "rvm notes" or "rvm install 1.9.2" I get: "-bash: rvm: command not found"
Does anyone know why?
Did you make the changes to .bashrc after installing, as mentioned on the website, and open a new terminal window?
Colin
you have paste this to your rc file after install ?
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
have u also, after adding those. made sure you commented out the part the has “return” in ur .bashrc??
Hi, I don't know what Mahmoud talking about, but others were right. What OS do you use? In MacOS it can be a little bit different, but try to follow this: http://rvm.beginrescueend.com/rvm/install/ (try last step before NOTE) Good luck, gezope
@gezope
I’m talking about the part that says:
" Do NOT ‘return’ from inside the .bashrc file or else RVM will be prevented from working properly - That is to say, if your .bashrc contains “&& return”, e.g, ubuntu in particular has…"
@gezope
the .bash_profile/ .bashrc file is loaded when a console session is loaded, and set a few variables, if there is a return statement before the rvm setup code the script will return before loading rvm into the console session.