Error installing nokogiri: Failed to build gem native extension & libiconv is missing (OSX)

前端 未结 15 1430
无人共我
无人共我 2020-12-07 18:25

I try to clone this repo and run bundle install. The bundle process failed and throw this error:

    ...
    Installing nokogiri 1.6.2.1 with na         


        
15条回答
  •  庸人自扰
    2020-12-07 19:14

    I had a similar issue with 1.6.7.2 when bundle installing on codeship with ruby 2.3.

    What worked for me was adding:

    bundle config build.nokogiri --use-system-libraries

    before

    bundle install

提交回复
热议问题