Ruby won't update

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

On Jun 28, 2006, at 4:57 PM, Damien T. 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 H. - [email protected] - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com

On Jun 28, 2006, at 4:58 PM, Eric H. wrote:

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

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


Eric H. - [email protected] - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com

Now it’s really broken :frowning:

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 H. wrote:

On Jun 28, 2006, at 4:57 PM, Damien T. 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 H. - [email protected] - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com

On 6/28/06, Eric H. [email protected] wrote:

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

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 Jun 28, 2006, at 5:39 PM, Damien T. wrote:

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


Eric H. - [email protected] - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com

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.