SolutionCottage.com
Posted  24 Jul 2009 - 11:03:33

Category: Apple


gem install mysql on mac os x

Issue:
When you try to install the mysql gem you get a message that the headers aren't installed.

Solution:
Use this command to direct the configuration to the right place:

sudo env ARCHFLAGS="-arch i386" gem install mysql -- \ --with-mysql-dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib \ --with-mysql-include=/usr/local/mysql/include








0 comments:








© SolutionCottage 2008-2011 7/26/2017 1:43:45 AM