Ever in Flux My mind...flash-filtered for smooth consumption

4Jan/100

gem install mysql on Leopard and Snow Leopard Server

Brief: Instructions for installing the Ruby MySQL gem on Mac OS X 10.5 Server without using MacPorts or installing MySQL.

MySQL and Ruby ship with Leopard and Snow Leopard Server, so why waste the time reinstalling it? Like me, you probably never found this little gem of wisdom in Apple's knowledge base. Follow the steps listed there (using -45 [10.5.8] instead of -43 [10.5.5]) and you'll be able to perform the magic incantation:

sudo gem install mysql

The advantage to this is that you needn't resort to installing anything that didn't ship with it. Oh, and you don't need to pass any flags to gem.

There's also this additional documentation for Deploying Rails Applications on Mac OS X Leopard. I've not traveled that route, but will soon.

   
Bear