crumbtrail

Jun 23 2008

Get the Ruby mysql gem to build with MySQL installed from 64-bit binary installer:


sudo env ARCHFLAGS=”-Os -arch x86_64 -fno-common” \
gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
Courtesy of synth @ Chris Cruft » Blog Archive » Ruby, Rails and MySQL with Leopard 10.5.2 and XCode 3.0

Page 1 of 1