If you are using Rails and Passenger and upgrade to mountain lion, you’ll need to do a bit of tweaking to get them playing nicely again. Here’s what I did:
Passenger & Apache
The Mountain Lion installer will replace your http.conf file in /etc/apache2/ with a new one. After doing a diff and discovering no important differences, I simply put my old one back (marked by Apple as httpd.conf.old in the same directory). However, I had to comment out this line:
# LoadModule bonjour_module libexec/apache2/mod_bonjour.so
Because that module no longer exists in 10.8. As noted here, Apple have removed the sharing toggle for Web Sharing (Apache) so, use these commands to start:
sudo apachectl restart
sudo apachectl stop
sudo apachectl start
Somehow, my upgrade to 10.8 introduced/changed my root mySQL password. I don’t have one, for development purposes, so I had to find a way to remove it again. For that I did the following:
1. Stop MySQL
2. Run sudo /usr/local/mysql/bin/mysqld_safe –skip-grant-tables
UPDATE user SET Password=PASSWORD(‘YOUR_PASSWORD’)
WHERE Host=’localhost’ AND User=’root’;
Where did SVN go? I don’t know, but it wasn’t in its usual /usr/bin/ position after I installed 10.8. Nowadays, you can install the command line developer tools independently of the gigantic 3gb Xcode package. Installing that small package bought me back a latest version of SVN, as well as GCC and a number of other useful tools. You can download it here after logging in with your Apple ID.
Please note, the 4.4 version of the command line tools will not be available there until after the official launch of 10.8 Mountain lion.