Nokogiri installation fails -libxml2 is missing

前端 未结 19 2517
情书的邮戳
情书的邮戳 2020-11-27 10:22

I always worked my way around Nokogiri installation issues by following the documentation in the \"Installing Nokogiri\" tutorial.

But this time, even after installi

19条回答
  •  攒了一身酷
    2020-11-27 10:42

    In Mac OS X (Mavericks) if none of these solutions work, try:

    ARCHFLAGS="-arch x86_64" gem install nokogiri
    

    or

    ARCHFLAGS="-arch i386" gem install nokogiri
    

    depending on your system's architecture.

提交回复
热议问题