Rails Database Driver Gems

A little aide-mémoire to remind me how to prepare my Rails database environment for either MySQL or SQLite on Ubuntu Linux.

MySQL

$ sudo apt-get install mysql-server libmysqlclient-dev
...
$ gem install mysql
...

SQLite

$ sudo apt-get install sqlite3 libsqlite3-dev
...
$ gem install sqlite3-ruby
...