nokogiri gem installation error

后端 未结 17 834
庸人自扰
庸人自扰 2020-11-30 21:04

I know there are a lot of questions about this gem but no answer has worked for me.

When I run in SSH gem install nokogiri I get this error:

<         


        
17条回答
  •  一整个雨季
    2020-11-30 21:44

    Installing Nokogiri in Mac OS El Capitan:

    brew install libxml2 bundle config build.nokogiri "--use-system-libraries --with-xml2-include=/usr/local/opt/libxml2/include/libxml2"

    bundle install

    It working for me :)

提交回复
热议问题