Easily build a great vocabulary without studying! Now on the App Store!
Click here for more info about the app

Install do_mysql Ruby Gem on Mac OS X


I ran into the same problem when installing mysql gem for Rails development. This fix worked for me http://seanbehan.com/programming/fixing-mysql-for-rails-2-2-development-on-mac-os-x/

The same thing works with the data objects gem. Just specify the path the mysql config that it's using and the gem should install just fine.

gem install do_mysql -- --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config
Tagged w/ #config #datamapper #do_mysql #gems #mysql #sinatradatabases