There are a number of guides online for how to setup Rails with Snow Leopard, but I had to follow steps from a few of them to get my setup working again.
If you have everything setup in /usr/local, here's how to get it working again.
- Rebuild MySQL in /usr/local
- Rebuilt ruby and rubygems in /usr/local
- Reinstall the mysql gem with the following command which ensures the gem designed for the 64 bit architecture is installed. (source)$ sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
- Uninstall and Reinstall Mongrel and some dependent gems (source):
- gem uninstall mongrel cgi_multipart_eof_fix
- gem uninstall fastthread ferret libxml-ruby rack
- gem install mongrel
- gem install fastthread ferret libxml-ruby rack



Leave a comment