貌似最新版本的依赖安包包,还是挺多的。
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.