浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

For one of my projects i need nokogiri and i tried installing using
 
sudo apt-get install nokogiri and no luck.
 
Also tried
 
sudo gem install nokogiri
 
How to install nokogiri so that i can continue, advance thanks

  • 1
    1
    1
    1
    1
    1
    1
    1
    1
1 answers,   votes, 1174 views
Visitor's picture
asked by Visitor
1 year 7 weeks ago



1 Answers

Answer

There is a dependency issue in building nokogiri, so you need to install the xml and xslt libraries first in order to build nokogiri
 
 
sudo apt-get install libxml2 libxml2-dev libxslt1-dev
 
sudo gem install nokogiri
 
 
This worked for me

posted on 2011-08-18 12:03  lexus  阅读(417)  评论(0编辑  收藏  举报