Skip to content

Instantly share code, notes, and snippets.

@lanrion
Last active August 29, 2015 14:02
Show Gist options
  • Select an option

  • Save lanrion/c09683589bd87b056fab to your computer and use it in GitHub Desktop.

Select an option

Save lanrion/c09683589bd87b056fab to your computer and use it in GitHub Desktop.
nokogiri mac installing Guide

貌似最新版本的依赖安包包,还是挺多的。

http://nokogiri.org/tutorials/installing_nokogiri.html

If this is a concern for you and you want to use the system library instead, abort this installation process and reinstall nokogiri as follows:

gem install nokogiri -- --use-system-libraries

If you are using Bundler, tell it to use the option:

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

However, note that nokogiri does not necessarily support all versions of libxml2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment