Using the C API MySQL module for Ruby, let Rails connect to MySQL faster!

Thursday, March 18, 2010

MySQL/Ruby Home Page

apt-get install libmysqlclient16-dev
tar zxvf mysql-ruby-2.8.2.tar.gz
cd mysql-ruby-2.8.2/
ruby extconf.rb --with-mysql-dir=/usr/local/mysql
make install

This entry was tagged Linux, MySQL, Rails and Ruby

comments powered by Disqus

© 2009-2013 All rights reserved. Powered by Pyramid

go to Top