# Using YARV?

**URL:** <https://www.ruby-forum.com/t/using-yarv/116317>\
**Category:** Rails\
**Created:** [October 4, 2007, 1:44pm UTC](https://www.ruby-forum.com/t/using-yarv/116317 "2007-10-04T13:44:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![softf5ajivanet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9f8e36/32.png) [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Post date:** [October 4, 2007, 1:44pm UTC](https://www.ruby-forum.com/t/using-yarv/116317/1 "2007-10-04T13:44:41Z")

</div>

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 😉

John.

---

<div class="post-metadata">

**Author:** ![softf5ajivanet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9f8e36/32.png) [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Post date:** [October 4, 2007, 1:57pm UTC](https://www.ruby-forum.com/t/using-yarv/116317/2 "2007-10-04T13:57:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![softf5ajivanet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9f8e36/32.png) [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Post date:** [October 4, 2007, 2:58pm UTC](https://www.ruby-forum.com/t/using-yarv/116317/3 "2007-10-04T14:58:55Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![softf5ajivanet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9f8e36/32.png) [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Post date:** [October 4, 2007, 3:03pm UTC](https://www.ruby-forum.com/t/using-yarv/116317/4 "2007-10-04T15:03:17Z")

</div>

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](http://www.ruby-lang.org/en/)  
downloads/

No idea when 2.0 will be out.

Fred

---

<div class="post-metadata">

**Author:** ![softf5ajivanet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9f8e36/32.png) [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Post date:** [October 4, 2007, 3:12pm UTC](https://www.ruby-forum.com/t/using-yarv/116317/5 "2007-10-04T15:12:35Z")

</div>

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](http://www.ruby-lang.org/en/)  
> downloads/
> 
> No idea when 2.0 will be out.
> 
> Fred

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

Appreciate it,

John.
