Using YARV?

Hi, I’ve been trying to read up on YARV and what I’ve read sounds really
damn good, just don’t know how to use it.

I’ve got a devbox running Ubuntu + Ruby on Rails + Apache + Mongrel, so
i’m thinking YARV will replace Mongrel.

Appreciate it if anyone could give me some pointers on where to get &
build YARV and test it out as a possible replacement for my defacto
Mongrels.

Thanks in ernest :wink:

John.

On 4 Oct 2007, at 12:44, John G. wrote:

build YARV and test it out as a possible replacement for my defacto
Mongrels.

You’ve partly got the wrong of the stick. YARV is not a mongrel
replacement, it’s the name of a virtual machine for ruby, effectively
ruby 1.9 is yarv. What you would need to do is get ruby 1.9. You
would then still run mongrel on top of that. I’ve no idea whether
rails currently runs on 1.9 ( I would guess that it’s probably not
100% there, since I’ve seen quite a few commits go past with messages
to the effect of ‘fixed for ruby 1.9 compatibility’)

Fred

Frederick C. wrote:

On 4 Oct 2007, at 12:44, John G. wrote:

build YARV and test it out as a possible replacement for my defacto
Mongrels.

You’ve partly got the wrong of the stick. YARV is not a mongrel
replacement, it’s the name of a virtual machine for ruby, effectively
ruby 1.9 is yarv. What you would need to do is get ruby 1.9. You
would then still run mongrel on top of that. I’ve no idea whether
rails currently runs on 1.9 ( I would guess that it’s probably not
100% there, since I’ve seen quite a few commits go past with messages
to the effect of ‘fixed for ruby 1.9 compatibility’)

Fred

oh, ok that makes a lot more sense. where should i start with trying
ruby 1.9, and how long will it be before the big 2.0 ?

On 4 Oct 2007, at 13:58, John G. wrote:

ruby 1.9 is yarv. What you would need to do is get ruby 1.9. You
would then still run mongrel on top of that. I’ve no idea whether
rails currently runs on 1.9 ( I would guess that it’s probably not
100% there, since I’ve seen quite a few commits go past with messages
to the effect of ‘fixed for ruby 1.9 compatibility’)

Fred

oh, ok that makes a lot more sense. where should i start with trying
ruby 1.9, and how long will it be before the big 2.0 ?

You can get the ruby trunk snapshots from Ruby Programming Language
downloads/

No idea when 2.0 will be out.

Fred

Frederick C. wrote:

On 4 Oct 2007, at 13:58, John G. wrote:

ruby 1.9 is yarv. What you would need to do is get ruby 1.9. You
would then still run mongrel on top of that. I’ve no idea whether
rails currently runs on 1.9 ( I would guess that it’s probably not
100% there, since I’ve seen quite a few commits go past with messages
to the effect of ‘fixed for ruby 1.9 compatibility’)

Fred

oh, ok that makes a lot more sense. where should i start with trying
ruby 1.9, and how long will it be before the big 2.0 ?

You can get the ruby trunk snapshots from Ruby Programming Language
downloads/

No idea when 2.0 will be out.

Fred

Ok, will do, thanks for this by the way.

Appreciate it,

John.