Ruby 1.9.1 Require Cannot Load Such Fiie

Last modified: 
Friday, April 10th, 2015

Problem

Running gem install [whatever] returns an error along the lines of

/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)

Possible Solution

Install Ruby 1.9.1-dev...

sudo apt-get install ruby1.9.1-dev


The operator of this site makes no claims, promises, or guarantees of the accuracy, completeness, originality, uniqueness, or even general adequacy of the contents herein and expressly disclaims liability for errors and omissions in the contents of this website.