Error - “gem install rails” - libxml2 is missing

后端 未结 8 1919
滥情空心
滥情空心 2021-01-05 02:14

I\'ve been working through the Rails install instructions (http://railsapps.github.io/installrubyonrails-mac.html) and everything was okay up until I got to gem instal

8条回答
  •  甜味超标
    2021-01-05 02:55

    For some reason nokogiri build process for libxml2 will misplace build version.

    Instead of lib/ it will to go lib64/. Nokogiri will then look for it in the wrong directory.

    More info here: https://github.com/sparklemotion/nokogiri/issues/1334

提交回复
热议问题