unable to install nokogiri in ubuntu 12.04

前端 未结 8 1392
-上瘾入骨i
-上瘾入骨i 2021-02-13 03:36

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

8条回答
  •  情深已故
    2021-02-13 03:56

    Install ruby via rvm and then install below libs:

    sudo apt-get install libxslt-dev libxml2-dev
    

    now try to install gem without sudo:

    gem install nokogiri
    

提交回复
热议问题