Mysql gem will be the only mysql library available for RubyOnRails from 2.2 onwards. So, better install it now.
The easiest way to install mysql gem is making shure it finds the proper mysql configuration via:
gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
The example is valid for OSX 15.5. CentOS installation command should be:
gem install mysql -- --with-mysql-config=/usr/bin/mysql_config
The easiest way to install mysql gem is making shure it finds the proper mysql configuration via:
gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
The example is valid for OSX 15.5. CentOS installation command should be:
gem install mysql -- --with-mysql-config=/usr/bin/mysql_config
1 comment:
Remember mysql gem only works with 32 version of mysql on OSX
Post a Comment