Revision: 7130
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 9, 2008 10:51 by iblis
Initial Code
# in case mysql was installed through fink, one should sudo gem install mysql -- \ --with-mysql-dir=/sw/bin/mysql \ --with-mysql-include=/sw/include/mysql \ --with-mysql-lib=/sw/lib/mysql \ --with-mysql-config=/sw/bin/mysql_config # if installed from source with make install : sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql --with-mysql-include=/usr/local/mysql/include/ --with-mysql-lib=/usr/local/mysql/lib/ --with-mysql-config=/usr/local/mysql/bin/mysql_config
Initial URL
Initial Description
When installing mysql and mysql-dev with fink, gem is unable to find the mysql headers and libraries: you should specify their location. If compiled manually from source, gem will find it if /usr/local/mysql (or what ever other location you specified at compilation time) is in your path.
Initial Title
Install mySQL gem on a fink (vs self made) mySQL installation
Initial Tags
mysql, ruby, osx
Initial Language
Bash