Created
March 18, 2010 07:40
-
-
Save lxneng/336131 to your computer and use it in GitHub Desktop.
Using the C API MySQL module for Ruby, let rails connect to mysql faster!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://www.tmtm.org/en/mysql/ruby/ | |
apt-get install libmysqlclient16-dev | |
wget http://rubyforge.org/frs/download.php/69181/mysql-ruby-2.8.2.tar.gz | |
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 | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment