Ruby 1.9

I want to install ruby 1.9, but what is the best method of doing this
(on Mac OS X), and will all of my old code from 1.8.7 work in 1.9
(assuming I reinstall all the gems)?

···

--
Posted via http://www.ruby-forum.com/.

Sorry, I'm on my phone, so it's hard to search for complete instructions right now.

I suggest you to take a look at RVM. One can install as many versions of Ruby as s/he wants alongside each other without conflicts. Gems must be reinstalled for each version as well. So you can test your code against several Ruby versions to assure proper functioning.

Best regards,

Douglas Drumond

iPhoneから送信

···

On 01/08/2010, at 20:19, Jesse Jurman <e.j.jurman@gmail.com> wrote:

I want to install ruby 1.9, but what is the best method of doing this
(on Mac OS X), and will all of my old code from 1.8.7 work in 1.9
(assuming I reinstall all the gems)?
--
Posted via http://www.ruby-forum.com/\.

--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/

Like Douglas, I also recommend rvm. For the sake of convenience, you can
install the rvm gem from your system Ruby.

sudo gem install rvm

From then on, you will no longer have to use sudo. Follow the instructions
and to install new Ruby versions, simply run this command:

rvm install version

where 'version' is the version you want to install.

More information can be found on the rvm website:
http://rvm.beginrescueend.com/

skim

···

2010/8/1 Douglas Drumond <douglasfdrumond@yahoo.co.jp>

Sorry, I'm on my phone, so it's hard to search for complete instructions
right now.

I suggest you to take a look at RVM. One can install as many versions of
Ruby as s/he wants alongside each other without conflicts. Gems must be
reinstalled for each version as well. So you can test your code against
several Ruby versions to assure proper functioning.

Best regards,

Douglas Drumond

iPhoneから送信

On 01/08/2010, at 20:19, Jesse Jurman <e.j.jurman@gmail.com> wrote:

> I want to install ruby 1.9, but what is the best method of doing this
> (on Mac OS X), and will all of my old code from 1.8.7 work in 1.9
> (assuming I reinstall all the gems)?
> --
> Posted via http://www.ruby-forum.com/\.
>
--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/

So, will this work on top of Mac OS X's preinstalled version of Ruby? Or
will I end up with both (the system's, and rvm's)?

···

--
Posted via http://www.ruby-forum.com/.

Yes rvm will work using the pre-installed version. You will have both. I
don't use the system Ruby and installed a more recent version of Ruby 1.8.7
using rvm.

···

On Sun, Aug 1, 2010 at 22:01, Jesse Jurman <e.j.jurman@gmail.com> wrote:

So, will this work on top of Mac OS X's preinstalled version of Ruby? Or
will I end up with both (the system's, and rvm's)?
--
Posted via http://www.ruby-forum.com/\.