Установите MySQL Rails

sudo apt-get install mysql-server mysql-client libmysqlclient-dev
Davidosky