`gem install nokogiri -v '1.5.6' 报错

libxml2 is missing.  please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.

解决:
sudo apt-get install libxslt-dev libxml2-dev

再运行:
`gem install nokogiri -v '1.5.6'

成功

你可能感兴趣的:(Install)