# Could gems upgrade ruby itself?

**URL:** <https://www.ruby-forum.com/t/could-gems-upgrade-ruby-itself/92239>\
**Category:** Ruby\
**Created:** [April 17, 2007, 11:35am UTC](https://www.ruby-forum.com/t/could-gems-upgrade-ruby-itself/92239 "2007-04-17T11:35:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kernel1983](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/96bed5/32.png) [@kernel1983](https://www.ruby-forum.com/u/kernel1983)\
**Post date:** [April 17, 2007, 11:35am UTC](https://www.ruby-forum.com/t/could-gems-upgrade-ruby-itself/92239/1 "2007-04-17T11:35:47Z")

</div>

gems can install and upgrade almost everything for me!

but I wonder if it could upgrade ruby itself?

I’m using ruby 1.82(OS X pre-installed) and I’m too lazy for things  
upgraded

---

<div class="post-metadata">

**Author:** ![kernel1983](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/96bed5/32.png) [@kernel1983](https://www.ruby-forum.com/u/kernel1983)\
**Post date:** [April 17, 2007, 2:26pm UTC](https://www.ruby-forum.com/t/could-gems-upgrade-ruby-itself/92239/2 "2007-04-17T14:26:09Z")

</div>

No gems can’t, but if you install Ruby with Darwin Ports you could  
upgrade it just as easily as you can with gems. Ports is a package  
management system, and I love it almost as much as I love gems.

Cam

---

<div class="post-metadata">

**Author:** ![kernel1983](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/96bed5/32.png) [@kernel1983](https://www.ruby-forum.com/u/kernel1983)\
**Post date:** [April 17, 2007, 3:32pm UTC](https://www.ruby-forum.com/t/could-gems-upgrade-ruby-itself/92239/3 "2007-04-17T15:32:24Z")

</div>

oh, just don’t be lazy.  
You just need a little bit of your unix navigation skills to find the  
location of Ruby in OSX  
You can overwrite it, or you can leave it and install in a new, more  
standard, directory.  
You’ll only have to write something to the Bash .profile or .bashrc  
or .bash\_login to set the PATH for looking for it.  
If you’re using any database with it, you will have to do this stuff  
anyway.

Just use the tutorial on Hivelogic
