title: Install the mysql2 gem for a specific mysql client version?
body: <p>I'm trying to use the <a href="https://rubygems.org/gems/mysql2" rel="nofollow">mysql2 gem</a> with rails 3.1.0.rc6, but I'm having some problem with my mysql client.</p>
  
  <p>I'm getting this message when trying to start my server.</p>
  
  <blockquote>
    <p>Incorrect MySQL client library version! This gem was compiled for 5.1.53 but the client library is 5.5.14. (RuntimeError)</p>
  </blockquote>
  
  <p>How do I compile/install mysql2 so that is can use mysql 5.5.14?</p>
  
  <p>I've tried using <code>gem pristine mysql2</code> without success.</p>