I'm trying to install a gem in debian using
gem install typhoeus
but I just keep getting this error message. I've tried a few things but they obviously didn't work. Could use some ideas, I'm new to both unix and ruby so go easy =)
root@asdf:/home/asdf# gem install typhoeus
Fetching: ffi-1.9.3.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing typhoeus:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 -r ./siteconf20140719-30469-1rufzif.rb extconf.rb
/usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- mkmf (LoadError)
from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
from extconf.rb:4:in `<main>'
extconf failed, exit code 1
Gem files will remain installed in /usr/lib/ruby/gems/1.9.1/gems/ffi-1.9.3 for inspection.
Results logged to /usr/lib/ruby/gems/1.9.1/extensions/x86-linux/1.9.1/ffi-1.9.3/gem_make.out
Here's the gem from github: https://github.com/typhoeus/typhoeus