I am trying to setup rails env on my new ubuntu machine. But I am facing trouble while install nokogiri gem.. I have installed libxslt and libxml2 libs thourgh rvm pkg command a
Install ruby via rvm and then install below libs:
rvm
sudo apt-get install libxslt-dev libxml2-dev
now try to install gem without sudo:
gem install nokogiri