Mac OS X Python Installer Breaks
$PATH Set in .bash_login
This morning I went to fire up a local Rails app on my PowerBook and it died. Then I tried to update my Subversion Repository and the command could not be found. I looked at my $PATH and found that my custom paths were not being loaded. It turns out that the Python Installer version 2.5 for Mac OS X creates a .bash_profile file in your home directory, and if you have your $PATH set in your .bash_login file it doesn't load properly. To get everything working again I did the following.
1. Move .bash_profile to .bash_profile.bad
mv .bash_profile .bash_profile.bad
2. Copy the PATH that Python needs from the .bash_profile.bad to .bash_login.
Contents of .bash_login
3. Close the terminal and start a new one so that .bash_login sets the $PATH correctly
All of the apps in those paths now work properly.