title: Installing Nokogiri (v.1.5.0.) Gem In Ubuntu 12.10
body: <p>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: <em>libxslt-dev</em>, <em>libxml2-dev</em>, <em>ruby1.9.3</em> and <em>make</em> packages. But when now I try</p>
  
  <pre><code>sudo gem install foodcritic
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>compiling xml_xpath_context.c
  xml_xpath_context.c: In function ‘xpath_generic_exception_handler’:
  xml_xpath_context.c:184:3: error: format not a string literal and no format arguments [-Werror=format-security]
  cc1: some warnings being treated as errors
  make: *** [xml_xpath_context.o] Error 1
  
  Gem files will remain installed in /usr/lib/ruby/gems/1.9.1/gems/nokogiri-1.5.0 for inspection.
  Results logged to /usr/lib/ruby/gems/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/gem_make.out
  </code></pre>
  
  <p>Nokogiri-1.5.0 gem is a requirement for foodcritic and it is it's instllation that fails.
  How can I install foodcritic?</p>