title: NOOB capybara Rspec warning: regexp match /.../n against to UTF-8 string
body: <p>I have the following error when I use capybara with Rspec:</p>
  
  <pre><code>/Users/imac/.rvm/gems/ruby-1.9.2-p180@hbg_3.0.7/gems/rack-1.2.3/lib/rack/utils.rb:16: warning: regexp match /.../n against to UTF-8 string
  .
  </code></pre>
  
  <p>After looking at the posted problem on github they suggest upgrading to rack 1.3.0.</p>
  
  <p>I tried to do that but this is the problem:</p>
  
  <p>If I add the rack gem to my gemfile and then do bundle install I get:</p>
  
  <pre><code>You have requested:
    rack = 1.3.0
  
  The bundle currently has rack locked at 1.2.3.
  Try running `bundle update rack`
  </code></pre>
  
  <p>And if I try to do bundle update rack I get:</p>
  
  <pre><code>Bundler could not find compatible versions for gem "rack":
    In Gemfile:
      rspec-rails (= 2.6.0) depends on
        rack (~&gt; 1.2.1)
  
      rack (1.3.0)
  </code></pre>
  
  <p>How can I update rack so that I can get rid of the error messages></p>
  
  <p>Thank you in advance.</p>