Hi all,
I run into a problem whilst installing the mysql gem on a debian box and
not
sure what I need to do.
Cheers,
Paul
root@a:/tmp# gem install mysql
Attempting local installation of ‘mysql’
Local gem file not found: mysql*.gem
Attempting remote installation of ‘mysql’
Select which gem to install for your platform (i386-linux)
- mysql 2.7.2006.05.10 (mswin32)
- mysql 2.7.2006.04.21 (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.
ruby extconf.rb install mysql\n
Results logged to /usr/lib/ruby/gems/1.8/gems/mysql-2.7/gem_make.out
root@a:/tmp# gem list
*** LOCAL GEMS ***
actionmailer (1.2.1)
Service layer for easy email delivery and testing.
actionpack (1.12.1)
Web-flow and rendering framework putting the VC in MVC.
actionwebservice (1.1.2)
Web service support for Action Pack.
activerecord (1.14.2)
Implements the ActiveRecord pattern for ORM.
activesupport (1.3.1)
Support and utility classes used by the Rails framework.
rails (1.1.2)
Web-application framework with template engine, control-flow layer,
and ORM.
rake (0.7.1)
Ruby based make-like utility.
sources (0.0.1)
This package provides download sources for remote gem installation