# Update Ruby Version!

**URL:** <https://www.ruby-forum.com/t/update-ruby-version/191348>\
**Category:** Rails\
**Created:** [July 10, 2010, 12:22am UTC](https://www.ruby-forum.com/t/update-ruby-version/191348 "2010-07-10T00:22:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidz101](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/f0a364/32.png) [@davidz101](https://www.ruby-forum.com/u/davidz101)\
**Post date:** [July 10, 2010, 12:22am UTC](https://www.ruby-forum.com/t/update-ruby-version/191348/1 "2010-07-10T00:22:18Z")

</div>

Hey guys

I am running Ruby 1.8.7 on Ubuntu 10.04

How can I update it to 1.9.1? I tried instaling the 1.9.1 package,  
everything seemed to work, but if I run “ruby -v” it still says  
1.8.7.

I might be doing something wrong… so can someone plot out the steps  
to updating the ruby version?

Thank you

---

<div class="post-metadata">

**Author:** ![davidz101](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/f0a364/32.png) [@davidz101](https://www.ruby-forum.com/u/davidz101)\
**Post date:** [July 10, 2010, 12:26am UTC](https://www.ruby-forum.com/t/update-ruby-version/191348/2 "2010-07-10T00:26:59Z")

</div>

On Jul 9, 2010, at 3:21 PM, David Z. wrote:

> Hey guys
> 
> I am running Ruby 1.8.7 on Ubuntu 10.04
> 
> How can I update it to 1.9.1? I tried instaling the 1.9.1 package,  
> everything seemed to work, but if I run “ruby -v” it still says  
> 1.8.7.
> 
> I might be doing something wrong… so can someone plot out the steps  
> to updating the ruby version?

Doesn’t ruby install itself into ruby1.9? I know on my debian box,  
‘ruby’ is aliases to ‘ruby1.8’.

I bet you have the same issue.

-philip

---

<div class="post-metadata">

**Author:** ![davidz101](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/f0a364/32.png) [@davidz101](https://www.ruby-forum.com/u/davidz101)\
**Post date:** [July 10, 2010, 5:06am UTC](https://www.ruby-forum.com/t/update-ruby-version/191348/3 "2010-07-10T05:06:00Z")

</div>

David Z. wrote:

> Hey guys
> 
> I am running Ruby 1.8.7 on Ubuntu 10.04
> 
> How can I update it to 1.9.1? I tried instaling the 1.9.1 package,  
> everything seemed to work, but if I run “ruby -v” it still says  
> 1.8.7.
> 
> I might be doing something wrong… so can someone plot out the steps  
> to updating the ruby version?
> 
> Thank you

I know this isn’t exactly what you were asking, but look into RVM (Ruby  
Version Manager) [1]. It makes is pretty easy to have multiple versions  
of Ruby on your system.

Peace.

[1] [http://rvm.beginrescueend.com](http://rvm.beginrescueend.com)

---

<div class="post-metadata">

**Author:** ![davidz101](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/f0a364/32.png) [@davidz101](https://www.ruby-forum.com/u/davidz101)\
**Post date:** [July 10, 2010, 4:35pm UTC](https://www.ruby-forum.com/t/update-ruby-version/191348/4 "2010-07-10T16:35:39Z")

</div>

On 7/10/10, Phillip K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > to updating the ruby version?
> > 
> > Thank you
> 
> I know this isn’t exactly what you were asking, but look into RVM (Ruby  
> Version Manager) [1]. It makes is pretty easy to have multiple versions  
> of Ruby on your system.
> 
> Peace.
> 
> [1] [http://rvm.beginrescueend.com](http://rvm.beginrescueend.com)

I was just about to suggest this. I run it with both Ruby 1.8.7 and  
Ruby 1.9.2. It is actually quite handy.

Regards,

Fidel.
