Failed to build gem native extension
这是由于缺少了libmysqlclient-dev
sudo apt-get install libmysqlclient-dev即可!