I installed rails 2.1. I notice this version doesn’t include a mysql adapter. Therefore, I need to install the adapter manually.
run this command to install:
gem install mysql
but I got some errors. It cannot find mysqlclient library.
I try the following command to specific the path of mysql_config, it works.
gem install mysql — –with-mysql-config=/path/to/your/mysql/bin/mysql_config