Fixing installation problem with nokogiri gem : libxml / libxslt is missing

The Nokogiri gem native extensions require libxml and libxslt. If you get an error like “libxml / libxslt is missing” during installation install the development packages for those libs. On Ubuntu do:

sudo apt-get install libxml2-dev libxslt1-dev

2 comments

  1. It’s work! Thanks :)

  2. Also fixed my problem when installing nokogiri (1.4.4) with native extensions.

    thanks

Leave a comment