From: Phrogz Date: 2007-01-22T00:05:08+09:00 Subject: Re: uninstalling the mac tiger version of ruby libsfan01 wrote: > My reason for wanting to uninstall is that ive tried to install the > latest version but terminal is still telling me that the version is > 1.8.2 not 1.8.5 that i downloaded, so it must have gotten messed up > somewhere right? Probably your PATH environment variable is set to use the tiger-installed version, instead of your new version. Observe: slim:~ gavinkistner$ /usr/bin/ruby -v ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0] slim:~ gavinkistner$ /usr/local/bin/ruby -v ruby 1.8.5 (2006-08-25) [powerpc-darwin8.7.0] slim:~ gavinkistner$ env [...snip...] PATH=.:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin [...snip...] slim:~ gavinkistner$ which ruby /usr/local/bin/ruby In other words, Apple's build lives in /usr/bin, my latest stable build lives in /usr/local/bin. If I just type "ruby", the PATH environment variable chooses which directories to look in, and the order to look. IIRC had to change my PATH to put my local bin directory before /usr/bin, because I always wanted programs that I had built and installed to supercede existing installs. If you really want, you can go in as root and rename /usr/bin/ruby (and irb and rdoc and others) to have a different name, like ruby182. Or you could delete them, and hope that nothing relied on them. But I'd just go with the PATH solution.