2

An error occurred while installing nokogiri (1.5.5), and Bundler cannot continue

How to fix and get past the error?

Installing nokogiri (1.5.5) with native extensions 
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

        /usr/bin/ruby1.8 extconf.rb 
checking for libxml/parser.h... yes
checking for libxslt/xslt.h... no
-----
libxslt is missing.  please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
1
  • Have you installed libxslt package? If not try installing libxslt1.1 or libxslt1-dev
    – devav2
    Sep 15, 2012 at 18:06

1 Answer 1

8

The answer was to do:

sudo apt-get install libxslt-dev 
1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .