最佳答案
我在 Mac OS Sierra 10.12上安装 Nokogiri (1.6.8.1)时遇到了麻烦。
我尝试使用 brew install libxml2 libxslt
,然后使用命令行选项引用安装目录,但没有帮助。