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 answers, votes, 1751 views
Visitor's picture
asked by Visitor
1 year 32 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

Visitor's picture
answer by Visitor
1 year 32 weeks ago
  • Thank you cery much. It is working !!!

    - Visitor 1 year 26 weeks ago
  • Ubuntu 11.04 released!

    Ubuntu 11.04 code named natty narwhal is released download ubuntu 11.04

    Read ubuntu 11.10 reviews and share yours now!!

    View in your own language!

    Stay Connected

    Ubun2.com on Facebook Ubun2.com on Twitter RSS Feeds

    Poll

    Favorite desktop environment?: