I've been having this problem for the past several years where I like to stay up-to-date and install the latest versions of software like Ruby, Rails, and Git. However, I somehow always seem to have difficulty using the latest versions.
For example, I go to the terminal and type
Which tells me that I'm running git 22.214.171.124
So I go to the git website and pick up the handy installer file (git-1.7.6-x86_64-snow-leopard.dmg). Then I mount the disk image and run the .pkg file... successfully installed.
However, when I go back and type git --version again, it still says I'm running git 126.96.36.199 and not the newly installed 1.7.6.
Generally whenever I've had these problems it has turned out that I had successfully completed the installations of the new software, I just don't necessarily know where it's installed. What is the best way to keep clean installations of these and not have a bunch of different versions lying around in different places on the file system?