Ruby on Rails: uninitialized constant MysqlCompat::MysqlRes
I tried all the options specified in the link: uninitialized constant MysqlCompat::MysqlRes (using mms2r gem) but nothing is working.
I have an iMac with Snow Leopard installed. I am currently using the mysql gem version 2.7 and I checked that ruby was 64 bit but I am unsure if the mysql gem is 64 bit开发者_运维问答 as well(or does that matter?). I do know that my local mysql server is 64 bit although I am currently trying to migrate to remote mysql server.
The hive logic tutorial worked for me for getting mysql installed.
However, unless you are doing full text searching or using gems that require mysql I would just stick with sqlite. It's an out of the box solution from Leopard 10.5 and up so It's just easier.
精彩评论