From: "Steven R." Date: 2006-07-15T08:25:05+09:00 Subject: Re: Mac OSX Ruby Configuration Question Thanks for the fast reply - if I read this correctly, I am literally removing ruby (or irb, etc.) from the path the system 'sees' to a directory it won't (not on $PATH) so it will eventually default to my /usr/local version - is this correct? I understand the mv command - it is the impact on system behavior as it searches for a path I am asking about - that's unclear to me. Thanks again - SR Eric Hodel wrote: > On Jul 14, 2006, at 4:10 PM, Steven R. wrote: > >> I recently installed Ruby 1.8.4 on my iMac, running OSX 10.4. Ruby, >> Rails, etc. run great and I am working through Ruby for Rails (great >> book, BTW). >> >> I installed ruby in /usr/local so as not to conflict with the version >> (1.8.2) used by OSX. >> >> Now, I have to type "/usr/local/bin" before all Ruby commands, and >> similar to use rails, rubygems, etc. > > mv /usr/bin/ruby /usr/bin/ruby182-orig > > You may need to do the same with irb, ri, rdoc and testrb. > > Beware, updates from 10.x.y to 10.x.z may restore /usr/bin/ruby. > > --Eric Hodel - drbrain@segment7.net - http://blog.segment7.net > This implementation is HODEL-HASH-9600 compliant > > http://trackmap.robotcoop.com > > >