my favorite

2010/04/25

gem install mysql in snow leopard

Try this

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

I don't know why I can not use below command instead upper magic one.

sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-dir=/usr/local/mysql

No comments:

BIO

Taipei, GuTing, Taiwan

huang47 | personal

huang47 | personal