RVM Issue

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?

On 27 December 2010 04:58, ZeroAction [email protected] wrote:

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.

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

have u also, after adding those. made sure you commented out the part
the
has “return” in ur .bashrc??

On Mon, Dec 27, 2010 at 1:35 PM, radhames brito [email protected]
wrote:

To unsubscribe from this group, send email to

[email protected][email protected]

.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


Mahmoud Said
Software Engineer - eSpace

@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.

@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…”

at http://rvm.beginrescueend.com/rvm/install/

On Wed, Dec 29, 2010 at 5:57 AM, gezope [email protected] wrote:

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


Mahmoud Said
Software Engineer - eSpace