nokogiri gem installation error

后端 未结 17 839
庸人自扰
庸人自扰 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:59

    Am using macOS Sierra.

    Went to nokogiri documentation and followed this:

    ON MAC OSX

    Installation should Just Work™ using Nokogiri’s vendored libxml2 and libxslt.

    First, make sure you have the latest version of RubyGems and xcode commandline tools:

    1 gem update --system

    2 xcode-select --install

    Then install nokogiri:

    1 gem install nokogiri

提交回复
热议问题