Install ruby 1.9.3 on Mac

I would like to upgrade my actual ruby version 1.8.7 installed on my Mac
to 1.9.3 or 1.9.2
I read lots of things searching on google I found information at
https://rvm.io/rvm/install

Then I tried the upgrade as follow:

source ~/.rvm/scripts/rvm

rvm list known

rvm install 1.9.3

which ruby

ruby -v

I even add the command rvm use 1.9.3 --default

That sound work untill I close the terminal and reopen it again. When I
reopened the terminal, the ruby version 1.9.3 was no longer available,
only the old version. Worse of all, even the RVM command is not
recognized.
I am a Biologist that has fun to code in Ruby. Could you guys help me to
fix it in a very straight forward way?
Thanks in advance

Good morning man!

I think that I can help you. As I can see the problem is the ruby 1.9 of
rvm be continuous on your PATH. Make sure that your file ~/.bash_profile
have
the RVM line to the PATH, something like “PATH=$PATH:$HOME/.rvm/bin” in
final of the file. Good luck.

2012/5/4 Amidou NDIAYE [email protected]

If you don’t need to use multiple versions of ruby, don’t use rvm, just
install ruby from the source archive. It will save you a lot of heart
ache in the future.

Henry

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/05/2012 15:34, Amidou NDIAYE wrote:

only the old version. Worse of all, even the RVM command is not
recognized.
I am a Biologist that has fun to code in Ruby. Could you guys help me to
fix it in a very straight forward way?

Just add the line:

[[ -s “$HOME/.rvm/scripts/rvm” ]] && source “$HOME/.rvm/scripts/rvm”

to the tail of your ~/.bash_profile

& open a new Terminal window & you’ll be good to go.

Cheers,

Phil…


But masters, remember that I am an ass.
Though it be not written down,
yet forget not that I am an ass.

Wm. Shakespeare - Much Ado About Nothing

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: §auto-key-locate cert pka ldap hkp://keys.gnupg.net
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPo+zyAAoJEKpMeDHWT5ADJN8IAIVd5rME2p9GaAdP8upLV3ES
BbxVfnJ+oZz7v1ZRb91N9GhIwL9kYYKy7OQWnDm8w891p19k/xrebn3lOELUXoAj
feEvWY28K1Vae/GzxyQwqTAuNAdo3DZTKj7Jrd238Fpy7/V0Nl62uYjfEm8O6WEd
IIzJZDoMbmdCK/vVJN1ANfXmYZX0MnF5lR12FtOony2U19q3XGvQQXX/+NfOK/VJ
FkH6Fqmz6kc9ktGNhDIRCsCLlOlMKMSIMMhNYf6Nzb6GLySRR9FYgwnDYsg7I9pZ
8SKozRwgGPf25SwPMseQRhe1gHosACikuN7gljwpW4Vd5I/oosW1/It5jDyVduU=
=jn+1
-----END PGP SIGNATURE-----