title: installation of nokogiri 1.5.9 in bundle install
body: <p>i have this error when I run bundle install with nokogiri:</p>
  
  <pre><code>Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
  
          /usr/bin/ruby1.9.1 extconf.rb 
  checking for libxml/parser.h... no
  -----
  libxml2 is missing.  please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
  -----
  *** extconf.rb failed ***
  Could not create Makefile due to some reason, probably lack of
  necessary libraries and/or headers.  Check the mkmf.log file for more
  details.  You may need configuration options.
  
  Provided configuration options:
      --with-opt-dir
      --without-opt-dir
          ....
  
  
  Gem files will remain installed in /var/lib/gems/1.9.1/gems/nokogiri-1.5.9 for inspection.
  Results logged to /var/lib/gems/1.9.1/gems/nokogiri-1.5.9/ext/nokogiri/gem_make.out
  
  An error occurred while installing nokogiri (1.5.9), and Bundler cannot
  continue.
  Make sure that `gem install nokogiri -v '1.5.9'` succeeds before bundling.
  </code></pre>
  
  <p>How may I rectify it?</p>
  
  <blockquote>
    <p>EDIT Lecture des listes de paquets... Fait<br>
    Construction de l'arbre des dépendances       <br>
    Lecture des informations d'état... Fait<br>
    Note : sélection de « libxslt1-dev » au lieu de « libxslt-dev »<br>
    E: Impossible de trouver le paquet  build-essential<br>
    E: Impossible de trouver le paquet  libxml2<br>
    E: Impossible de trouver le paquet  libreadline6-dev<br>
    E: Impossible de trouver le paquet  libssl-dev<br>
    E: Impossible de trouver le paquet  ncurses-dev<br>
    E: Impossible de trouver le paquet  postgresql-contrib<br>
    E: Impossible de trouver le paquet  libapr1<br>
    E: Impossible de trouver le paquet  libpcap-dev<br></p>
  </blockquote>