How to instal mysql or mysql2 Ruby gem for Rails 3.0.x on OS X Lion 2

Posted on July 25, 2011

This hits me every time when I try to install mysql gem on a new OS X machine. Here’s the trick and this should work for Snow Leopard too. Prerequisite Install Xcode 4.x Lion offers free Xcode 4 in Mac App Store. Download and install “x86 64-bit” Mysql DMG (link) Install all supplied packages, it [...]