Wednesday, September 2, 2009

Upgrading to Snow Leopard

I picked up Snow Leopard from the Apple store on my lunch break today. When I got back to the office I popped the disc into my Macbook Pro, upgrading from Leopard. About an hour later I had Snow Leopard running nicely, almost. Here's what I ran into:

1. All of my sym links were deleted from /usr/local/, so MySQL stopped working, as did my Tomcat scripts. This was easily fixed by recreating them:

cd /usr/local
sudo ln -s apache-tomcat-6.0.20 tomcat
sudo ln -s mysql-5.1.35-osx10.5-x86 mysql

2. LimeChat stopped working, it would crash immediately on launch. The LimeChat site recommends deleting /Library/Frameworks/RubyCocoa.framework but to play it safe, I just moved mine.

The following command fixed it:

sudo mv RubyCocoa.framework RubyCocoa.framework_OLD

3. "-bash: git: command not found" Apparently the /usr/local/git/bin fell out of my system path, add the following to the end of your ~/.profile file:

export PATH=$PATH:/usr/local/git/bin:.


4. MySQL Ruby gem no longer found. Snow Leopard actually required me to install the 64-bit version of MySQL. This trumps the symlink changes you might have made above

Follow these excellent instructions by Matt Aimonetti about MySQL (make sure you install XCode from the Snow Leopard DVD):

http://weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard



That's it for now, I'll continue to update this post as I find and resolve issues.

No comments: