Failure to install nokogiri libiconv is missing on Yosemite Mac OS X 10.10

后端 未结 10 2035
难免孤独
难免孤独 2020-12-29 07:08

Trying to install Nokogiri I’m getting the following error

Maxims-MacBook-Air:ScrapingTheApple maximveksler$ gem install nokogiri
Fetching: nokogiri-1.6.2.1.         


        
10条回答
  •  被撕碎了的回忆
    2020-12-29 07:54

    I was successfull with:

    gem install nokogiri -- \
    --with-iconv-lib=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib \
    --with-iconv-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include
    

提交回复
热议问题