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 '12 at 18:06
8

The answer was to do:

sudo apt-get install libxslt-dev 
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.