# Upgrading from 1.8.2 to 1.8.5

**URL:** <https://www.ruby-forum.com/t/upgrading-from-1-8-2-to-1-8-5/111937>\
**Category:** Ruby\
**Created:** [August 13, 2007, 5:38pm UTC](https://www.ruby-forum.com/t/upgrading-from-1-8-2-to-1-8-5/111937 "2007-08-13T17:38:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![clemrock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Post date:** [August 13, 2007, 5:38pm UTC](https://www.ruby-forum.com/t/upgrading-from-1-8-2-to-1-8-5/111937/1 "2007-08-13T17:38:28Z")

</div>

Hello,

```
I need to upgrade my local version of ruby from 1.8.2 to 1.8.5.

```

What kind of issues could I be facing if I do this upgrade?

Are there any good tutorials or resources that describe how to do this  
upgrade?

Thanks,  
Clem

---

<div class="post-metadata">

**Author:** ![clemrock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Post date:** [August 13, 2007, 6:03pm UTC](https://www.ruby-forum.com/t/upgrading-from-1-8-2-to-1-8-5/111937/2 "2007-08-13T18:03:32Z")

</div>

On 8/13/07, Clem R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Clem  
> It depends partially on your platform. On windows just run the new  
> installer (but see next paragraph). On debian/ubuntu I guess it’s just  
> “sudo apt-get install ruby” (and all other packages).

If you’re on windows I advise you to backup your c:\ruby directory –  
you’ll be able to go back to 1.8.2 in case of trouble. (Renaming to  
something else is enough.)

You’ll have to reinstall all gems (well, more exactly, only the  
compiled ones) you have installed (and still need). On windows, you’ll  
find your gems in C:\ruby\lib\ruby\gems\1.8\cache. For the record, use  
“gem list” to list installed gems. The same applies for all binary  
extensions.

There are some language changes that might affect you, but I don’t  
remember them.

J.

---

<div class="post-metadata">

**Author:** ![clemrock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Post date:** [August 15, 2007, 4:30am UTC](https://www.ruby-forum.com/t/upgrading-from-1-8-2-to-1-8-5/111937/3 "2007-08-15T04:30:30Z")

</div>

Clem R. wrote:

> I should have mentioned that I was on Mac Os 10.4

Install MacPorts, then:

```
 sudo port -v install ruby
 sudo port -v install rb-rubygems

```

That will install a new Ruby in /opt/local, leaving your original Ruby  
intact. Then you just have to make sure /opt/local/bin is in your path  
before /usr/bin, and you’ll be good to go.

Pete Y.

> **[Pete Yandell — Principal Engineer / Architect](https://notahat.com/)**
>
> Pete Yandell is an experienced Principal Software Engineer and Architect based in Melbourne, Australia.

---

<div class="post-metadata">

**Author:** ![clemrock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Post date:** [August 13, 2007, 7:11pm UTC](https://www.ruby-forum.com/t/upgrading-from-1-8-2-to-1-8-5/111937/4 "2007-08-13T19:11:39Z")

</div>

I should have mentioned that I was on Mac Os 10.4

Thanks for your help

Jano S. wrote:

> On 8/13/07, Clem R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Clem  
> > It depends partially on your platform. On windows just run the new  
> > installer (but see next paragraph). On debian/ubuntu I guess it’s just  
> > “sudo apt-get install ruby” (and all other packages).
> 
> If you’re on windows I advise you to backup your c:\ruby directory –  
> you’ll be able to go back to 1.8.2 in case of trouble. (Renaming to  
> something else is enough.)
> 
> You’ll have to reinstall all gems (well, more exactly, only the  
> compiled ones) you have installed (and still need). On windows, you’ll  
> find your gems in C:\ruby\lib\ruby\gems\1.8\cache. For the record, use  
> “gem list” to list installed gems. The same applies for all binary  
> extensions.
> 
> There are some language changes that might affect you, but I don’t  
> remember them.
> 
> J.
