extconf.rb:4:in `require’: no such file to load — mkmf (LoadError)

I’ve hit this a dozen times and I always forget the solution. When you get this on Ubuntu,

sudo apt-get install ruby-dev
This entry was posted in ruby and tagged , , , , , , , . Bookmark the permalink.

One Response to extconf.rb:4:in `require’: no such file to load — mkmf (LoadError)

  1. James says:

    People like you who leave solutions lying around are the reason why I still believe in humanity. And robots with a good heart, but that’s another story.

    I hope you’ll feel better by knowing you have helped a professional in a hurry.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>