ubuntu 安装nokogiri 报错 libxslt is missing.

阅读更多
引用

/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.
-----
*** extconf.rb failed ***


sudo apt-get install libxslt-dev libxml2-dev


需要

  • ruby 1.8 or 1.9
  • libxml2
  • libxml2-dev
  • libxslt
  • libxslt-dev

你可能感兴趣的:(Ubuntu,Ruby,HTML)