Hi all,
Sorry if this is answered somewhere – I am new to ruby and to linux,
and can’t figure it out:
When I try to install ferret (see below), I get ERROR: While executing
gem … (Gem::Installer::ExtensionBuildError). Same thing happens for
any version I pick from th list.
I am using:
gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
ruby 1.8.5 (2006-08-25) [i486-linux]
gem 0.9.4
No idea how to fix this – please help!
Thanks,
Geth
========================================================
[email protected]:~/rails_space$ sudo gem install ferret
Password:
Select which gem to install for your platform (i486-linux)
- ferret 0.11.4 (ruby)
- ferret 0.11.4 (mswin32)
- ferret 0.11.3 (ruby)
- ferret 0.11.2 (ruby)
- Skip this gem
- Cancel installation
1
Building native extensions. This could take a while…
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install ferret
extconf.rb:11:in `require’: no such file to load – mkmf (LoadError)
from extconf.rb:11
Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.4 for inspection.
Results logged to
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/ext/gem_make.out
[email protected]:~/rails_space$