Snow Leopard + MySQL + Ruby + 64-bit = #fail

Running into the following error after your Snow Leopard upgrade?

uninitialized constant MysqlCompat::MysqlRes

Then the following build line for the mysql gem might fix it for you:

ARCHFLAGS="-arch i386 -arch x86_64"  gem install --no-rdoc --no-ri mysql -- --with-mysql-dir=/opt/local/lib/mysql5 --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config

0 Responses to “Snow Leopard + MySQL + Ruby + 64-bit = #fail”


  • No Comments

Leave a Reply