Installing Nokogiri (v.1.5.0.) Gem In Ubuntu 12.10

前端 未结 1 1084
借酒劲吻你
借酒劲吻你 2021-01-22 07:45

I am trying to install foodcritic gem on Ubuntu 12.10. It could be successfully installed in Ubuntu 12.04. I have installed the requirements: libxslt-dev, libxml2-d

相关标签:
1条回答
  • 2021-01-22 08:05

    Support for Ubuntu 12.10 (or any Debian-based system that uses -Werror=format-security) was built into nokogiri-1.5.4. I recommend installing the latest (currently 1.5.5). It should be compatible with 1.5.0, except with more fixed bugs :) See the changelog for more information.

    It looks like foodcritic locked the version to 1.5.0 because of a segfault in 1.5.3 (according to its changelog) but one of the fixes in 1.5.4 fixes a segfault, so you may want to modify the gem to require ~> 1.5.4 and if it works, contact the author of the gem.

    0 讨论(0)
提交回复
热议问题