# Ruby won't update

**URL:** <https://rubytalk.org/t/ruby-wont-update/28560>\
**Category:** ruby-talk\
**Created:** [28 June 2006 23:57 UTC](https://rubytalk.org/t/ruby-wont-update/28560 "2006-06-28T23:57:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Damien](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@Damien](https://rubytalk.org/u/Damien)\
**Post date:** [28 June 2006 23:57 UTC](https://rubytalk.org/t/ruby-wont-update/28560/1 "2006-06-28T23:57:11Z")

</div>

I'm trying to update ruby from 1.8.2 to 1.8.4 on mac os x, but it just  
refuses to work. each time after I try, i run "ruby -v" and it's still  
1.8.2.

Has anyone else had difficulties? How can I get this to update??

Thanks,  
Damien

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

---

<div class="post-metadata">

**Author:** ![Eric\_Hodel1](https://avatars.discourse-cdn.com/v4/letter/e/a9adbd/32.png) [@Eric\_Hodel1](https://rubytalk.org/u/Eric_Hodel1)\
**Post date:** [28 June 2006 23:58 UTC](https://rubytalk.org/t/ruby-wont-update/28560/2 "2006-06-28T23:58:49Z")

</div>

Move /usr/bin/ruby aside (I use ruby182-orig) and make sure /usr/local/bin is in your PATH.

> **···**
>
> On Jun 28, 2006, at 4:57 PM, Damien Timewell wrote:
> 
> > I'm trying to update ruby from 1.8.2 to 1.8.4 on mac os x, but it just  
> > refuses to work. each time after I try, i run "ruby -v" and it's still  
> > 1.8.2.
> > 
> > Has anyone else had difficulties? How can I get this to update??
> 
> --  
> Eric Hodel - drbrain@segment7.net - [http://blog.segment7.net](http://blog.segment7.net)  
> This implementation is HODEL-HASH-9600 compliant
> 
> [http://trackmap.robotcoop.com](http://trackmap.robotcoop.com)

---

<div class="post-metadata">

**Author:** ![Eric\_Hodel1](https://avatars.discourse-cdn.com/v4/letter/e/a9adbd/32.png) [@Eric\_Hodel1](https://rubytalk.org/u/Eric_Hodel1)\
**Post date:** [29 June 2006 00:06 UTC](https://rubytalk.org/t/ruby-wont-update/28560/3 "2006-06-29T00:06:25Z")

</div>

Also note that Apple sometimes reinstalls /usr/bin/ruby when it updates the OS.

> **···**
>
> On Jun 28, 2006, at 4:58 PM, Eric Hodel wrote:
> 
> > On Jun 28, 2006, at 4:57 PM, Damien Timewell wrote:
> > 
> > > I'm trying to update ruby from 1.8.2 to 1.8.4 on mac os x, but it just  
> > > refuses to work. each time after I try, i run "ruby -v" and it's still  
> > > 1.8.2.
> > > 
> > > Has anyone else had difficulties? How can I get this to update??
> > 
> > Move /usr/bin/ruby aside (I use ruby182-orig) and make sure /usr/local/bin is in your PATH.
> 
> --  
> Eric Hodel - drbrain@segment7.net - [http://blog.segment7.net](http://blog.segment7.net)  
> This implementation is HODEL-HASH-9600 compliant
> 
> [http://trackmap.robotcoop.com](http://trackmap.robotcoop.com)

---

<div class="post-metadata">

**Author:** ![Damien](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@Damien](https://rubytalk.org/u/Damien)\
**Post date:** [29 June 2006 00:39 UTC](https://rubytalk.org/t/ruby-wont-update/28560/4 "2006-06-29T00:39:17Z")

</div>

Now it's really broken ☹

when I try to start up a rails project with 'script/server' it gives me  
one line with:  
=\> Booting WEBrick...  
and then just goes back to the command line. no error messages. nothing.

damn.

Eric Hodel wrote:

> **···**
>
> > On Jun 28, 2006, at 4:57 PM, Damien Timewell wrote:
> > 
> > > I'm trying to update ruby from 1.8.2 to 1.8.4 on mac os x, but it just  
> > > refuses to work. each time after I try, i run "ruby -v" and it's still  
> > > 1.8.2.
> > > 
> > > Has anyone else had difficulties? How can I get this to update??
> > 
> > Move /usr/bin/ruby aside (I use ruby182-orig) and make sure /usr/  
> > local/bin is in your PATH.
> > 
> > --  
> > Eric Hodel - drbrain@segment7.net - [http://blog.segment7.net](http://blog.segment7.net)  
> > This implementation is HODEL-HASH-9600 compliant
> > 
> > [http://trackmap.robotcoop.com](http://trackmap.robotcoop.com)
> 
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![Tony\_Collen](https://avatars.discourse-cdn.com/v4/letter/t/e9c0ed/32.png) [@Tony\_Collen](https://rubytalk.org/u/Tony_Collen)\
**Post date:** [29 June 2006 00:09 UTC](https://rubytalk.org/t/ruby-wont-update/28560/5 "2006-06-29T00:09:50Z")

</div>

Correct, it was even updated in this last 10.4.7 patch. I have ruby  
installed to /usr/local/bin and my /usr/local stuff comes first in my  
$PATH.

Tony

> **···**
>
> On 6/28/06, Eric Hodel \<drbrain@segment7.net\> wrote:
> 
> > Also note that Apple sometimes reinstalls /usr/bin/ruby when it  
> > updates the OS.

---

<div class="post-metadata">

**Author:** ![Eric\_Hodel1](https://avatars.discourse-cdn.com/v4/letter/e/a9adbd/32.png) [@Eric\_Hodel1](https://rubytalk.org/u/Eric_Hodel1)\
**Post date:** [29 June 2006 00:52 UTC](https://rubytalk.org/t/ruby-wont-update/28560/6 "2006-06-29T00:52:50Z")

</div>

Rails hard-codes its #! lines when it generates everything in script/. Update them.

> **···**
>
> On Jun 28, 2006, at 5:39 PM, Damien Timewell wrote:
> 
> > Eric Hodel wrote:
> > 
> > > On Jun 28, 2006, at 4:57 PM, Damien Timewell wrote:
> > > 
> > > > I'm trying to update ruby from 1.8.2 to 1.8.4 on mac os x, but it just  
> > > > refuses to work. each time after I try, i run "ruby -v" and it's still  
> > > > 1.8.2.
> > > > 
> > > > Has anyone else had difficulties? How can I get this to update??
> > > 
> > > Move /usr/bin/ruby aside (I use ruby182-orig) and make sure /usr/  
> > > local/bin is in your PATH.
> > 
> > Now it's really broken ☹
> > 
> > when I try to start up a rails project with 'script/server' it gives me  
> > one line with:  
> > =\> Booting WEBrick...  
> > and then just goes back to the command line. no error messages. nothing.
> 
> --  
> Eric Hodel - drbrain@segment7.net - [http://blog.segment7.net](http://blog.segment7.net)  
> This implementation is HODEL-HASH-9600 compliant
> 
> [http://trackmap.robotcoop.com](http://trackmap.robotcoop.com)

---

<div class="post-metadata">

**Author:** ![Damien](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@Damien](https://rubytalk.org/u/Damien)\
**Post date:** [29 June 2006 00:58 UTC](https://rubytalk.org/t/ruby-wont-update/28560/7 "2006-06-29T00:58:07Z")

</div>

cheers for the help. I forgot I'd also upgraded to rails 1.1.3 and lost  
my gems. just needed to reinstall them and everything's gone back to  
normal (but with ruby 1.8.4 and in turn, mongrel!!)

thanks again.

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
