I am running Linx Mint, a version of Ubuntu, and I installed Ruby
and Rails. However, when I try to install the mySql package via. gem,
“gem
install mysql” I get an error message (See below) with no idea how to
fix
the error. I looked on the net (Google), but all suggestions do not
work
with this Linux.
Also, as far as I know, I have all of the correct mySql drivers/headers,
etc.
=================== error message ==================================
Select which gem to install for your platform (i486-linux)
- mysql 2.7.3 (mswin32)
- mysql 2.7.1 (mswin32)
- mysql 2.7 (ruby)
- mysql 2.6 (ruby)
- mysql 2.5.1 (ruby)
- Cancel installation
3
Building native extensions. This could take a while…
extconf.rb:1:in `require’: no such file to load – mkmf (LoadError)
from extconf.rb:1
ERROR: While executing gem … (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/mysql-2.7
for inspection.