About ruby on rails, hackintosh, iphone3g and etc.

Sunday, January 24, 2010

Add Sources from Github

To add plugin from github, you may encounter problem. Add git hub as gem sources:

gem sources -a http://gems.github.com/


Saturday, January 23, 2010

Install Mysql in Snow Leopard

Download / install the 64-bit MySQL 5.1.37 from mysql.com
run the following commands:

sudo gem update --system

sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config