Ruby upgrade in Mac OS X Leopard

Hello guys,

I am working with the standard Ruby delivered within Mac OS X Leopard.
It
is the version 1.8.6 patch level 111. Is it possible to apply patches?
or
do they come with Mac OS X updates? If I should apply them manually up
to
which patch level I should go without braking the Ruby environment? Can
I
go to 1.9.0?

Thanks in advance for your answer,

Guillermo

[email protected] wrote:

Thanks in advance for your answer,
I don’t think anybody here will recommend touching apple’s ruby version,
as this will get you in trouble sooner or later

If you want/need a more recent version, you should take a look at Fink
or MacPorts.

Hope this helps.

Thanks for your answer Stefan.

I am interested in using Ruby 1.9.0. What about JRuby? does it support
1.9.0?

Thanks,

Guillermo

From:
Stefan Krüger [email protected]
To:
[email protected] (ruby-talk ML)
Date:
20.06.2008 16:40
Subject:
Re: Ruby upgrade in Mac OS X Leopard

[email protected] wrote:

[Note: parts of this message were removed to make it a legal post.]

Hello guys,

I am working with the standard Ruby delivered within Mac OS X Leopard.
It
is the version 1.8.6 patch level 111. Is it possible to apply patches?
or
do they come with Mac OS X updates? If I should apply them manually up
to
which patch level I should go without braking the Ruby environment? Can
I
go to 1.9.0?

Thanks in advance for your answer,

I don’t think anybody here will recommend touching apple’s ruby version,
as this will get you in trouble sooner or later

If you want/need a more recent version, you should take a look at Fink
or MacPorts.

Hope this helps.

would just grab the tarball for 1.9 and run ./configure --program-

suffix=19. You already have all the pieces you need.
[Nation, Carey]
Maybe. If configure tells you that gcc can’t create executables,
install xcode 2.x if you don’t have it.

Dan Benjamin has a very clear walkthrough on installing Ruby from
scratch on OS X:

It doesn’t conflict with Apple’s version of Ruby.

On Jun 20, 2008, at 07:09 AM, [email protected] wrote:

I am working with the standard Ruby delivered within Mac OS X
Leopard. It
is the version 1.8.6 patch level 111. Is it possible to apply
patches? or
do they come with Mac OS X updates? If I should apply them manually
up to
which patch level I should go without braking the Ruby environment?
Can I
go to 1.9.0?

I would just grab the tarball for 1.9 and run ./configure --program-
suffix=19. You already have all the pieces you need.

Good to know it Charlie!

From:
Charles Oliver N. [email protected]
To:
[email protected] (ruby-talk ML)
Date:
25.06.2008 00:42
Subject:
Re: Ruby upgrade in Mac OS X Leopard

[email protected] wrote:

Thanks for your answer Stefan.

I am interested in using Ruby 1.9.0. What about JRuby? does it support
1.9.0?

Soon! JRuby 1.1.3 will have a --1.9 flag that allows you to switch
versions. Only a few things work so far, like fibers and IO to IO
copying.

  • Charlie

[email protected] wrote:

Thanks for your answer Stefan.

I am interested in using Ruby 1.9.0. What about JRuby? does it support
1.9.0?

Soon! JRuby 1.1.3 will have a --1.9 flag that allows you to switch
versions. Only a few things work so far, like fibers and IO to IO
copying.

  • Charlie