Nokogiri installation fails -libxml2 is missing

前端 未结 19 2585
情书的邮戳
情书的邮戳 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:50

    For anyone else experiencing this issue, I solved it by running this command within the project directory

    gem install nokogiri -- --use-system-libraries

    Update: I ran into this again and tried just updating the gem which worked for me...

    gem update nokogiri

提交回复
热议问题