From: Tim Hoolihan on
I have had a similar error installing several gems. I have been unable
to locate mkmf as a file or gem. The error is:

$ sudo gem install ./rubygame-1.1.0-i586-linux.gem
Attempting local installation of './rubygame-1.1.0-i586-linux.gem'
Building native extensions. This could take a while...
extconf.rb:3:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:3
ERROR: Error installing gem ./rubygame-1.1.0-i586-linux.gem[.gem]:
ERROR: Failed to build gem native extension.
Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/rubygame-1.1.0-i586-linux for inspection.
ruby extconf.rb install ./rubygame-1.1.0-i586-linux.gem\n

Results logged to
/usr/lib/ruby/gems/1.8/gems/rubygame-1.1.0-i586-linux/ext/rubygame/gem_make.out


I have attempted things such as:
find /usr/lib/ruby "*mkmf*"
gem search mkmf --remote

Any ideas?
Thanks,
Tim