Installing Ruby Native MySQL Driver on Ubuntu
This error gets reported and people seemed to be having problems with it in the forums:
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb install mysql
extconf.rb:1:in `require’: no such file to load — mkmf (LoadError)
from extconf.rb:1
FIX:
sudo apt-get install ruby1.8-dev