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

前端 未结 15 1465
无人共我
无人共我 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:09

    This helped me fix this

    • I reinstalled Xcode and directed xcode-select to its path
    sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
    

    ref: https://stackoverflow.com/a/17980786/3861525

提交回复
热议问题