Ruby and MySQL on Ubuntu
When installing Ruby, Rails, and MySQL on Ubuntu remember the following when you get to the database part and you’ll be fine:
apt-get install mysql-server
apt-get install mysql-client
apt-get install libmysqlclient15-dev
gem install mysql -- --with-mysql-dir=/usr/bin --with-mysql-config=/usr/bin/mysql_config
I always forget the development libraries, and that makes compiling the native Ruby bindings difficult to say the least.


