From: Peter Cooper Date: 2007-09-21T04:58:36+09:00 Subject: Re: uninstalling the mac tiger version of ruby ------=_Part_21439_29612516.1190318313653 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 9/20/07, Aaron Massey wrote: > > I have a similar problem. I installed a manually compiled version of > ruby, rails and gem at /usr/local/bin. They all work fine and I have my > environment variables setup so that I can use them in a Terminal without > problems. However, when I start WEBrick, it is defaulting to the Mac OS > X version of rails. Where can I set the version of ruby that WEBrick > should be using? Not a direct answer, but this is my usual "solution" whenever installing Ruby on OS X: sudo rm /usr/bin/irb /usr/bin/rdoc /usr/bin/ri /usr/bin/ruby sudo ln -s /usr/local/bin/irb /usr/bin/irb sudo ln -s /usr/local/bin/rdoc /usr/bin/rdoc sudo ln -s /usr/local/bin/ri /usr/bin/ri sudo ln -s /usr/local/bin/ruby /usr/bin/ruby Well.. it works :) (although you have to remember to do it again if OS X updates Ruby!) Regards, Peter Cooper http://www.rubyinside.com/ ------=_Part_21439_29612516.1190318313653--