libxslt is missing while installing ruby gem nokogiri -
i recognize duplicate question other answers i've found related issue have not seemed me...
i'm installing gitlab
, running through gem dependencies when hits nokogiri
gem requirement , fails following info:
error: error installing nokogiri: error: failed build gem native extension. /usr/local/bin/ruby extconf.rb extconf.rb:10:in `<main>': use rbconfig instead of obsolete , deprecated config. extconf.rb:10:in `<main>': use rbconfig instead of obsolete , deprecated config. extconf.rb:11:in `<main>': use rbconfig instead of obsolete , deprecated config. checking libxml/parser.h... yes checking libxslt/xslt.h... yes checking libexslt/exslt.h... yes checking iconv_open() in iconv.h... yes checking xmlparsedoc()... -lxml2 checking xsltparsestylesheetdoc()... -lxslt ----- libxslt missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html installing dependencies. -----
so, error leads me down path of attempting install libxslt
following command:
$ sudo apt-get install libxslt-dev reading package lists... done building dependency tree reading state information... done note, selecting 'libxslt1-dev' instead of 'libxslt-dev' libxslt1-dev newest version. 0 upgraded, 0 newly installed, 0 remove , 146 not upgraded.
so gives? nokogiri needing package, package installed!! can't seem past issue, out there?
try nokogiri 1.6.0.rc1, bundles libxml2 , libxslt in gem. should address installation problem:
gem install nokogiri --pre
should trick.
Comments
Post a Comment