Try this and then install the mysql gem:
sudo apt-get install libmysqlclient-dev
If that’s not sufficient try it like this
sudo apt-get install libmysqlclient-dev libmysqlclient16 ruby-dev
Try this and then install the mysql gem:
sudo apt-get install libmysqlclient-dev
If that’s not sufficient try it like this
sudo apt-get install libmysqlclient-dev libmysqlclient16 ruby-dev