Installing Nokogiri Gem On Ubuntu

If you cannot install the nokogiri gem on ubuntu (required or recommended) for Mephisto.

You have to install two other libraries first that may or may not already be installed on your computer:

1
sudo apt-get install libxml2-dev libxslt1-dev

Simply installing libxml-ruby or libxml1 won’t satisfy the requirements.

Thanks to hightechsorcery.com for the info.

Tags: , , , , ,

2 Responses to “Installing Nokogiri Gem On Ubuntu”

  1. WT Says:

    Thanks. The libxslt1-dev thing tripped me up.

  2. Mason Says:

    Thanks from me as well, installing nokogiri on EC2 using an older Ubuntu AMI, and ran into this. Very helpful.

Leave a Reply