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

后端 未结 10 2126
难免孤独
难免孤独 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:48

    Just in case if some one is still not able to resolve it as I do with the above mentioned solution, then this is the alternate

    gem install nokogiri -- --user-system-libraries

    or using bundle

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

    bundle install

    Thanks to http://www.nokogiri.org/tutorials/installing_nokogiri.html

提交回复
热议问题