title: Which jquery-rails gem version is working with Rails 3.0?
body: <p>According to the docs, the <a href="https://github.com/rails/jquery-ujs#installation" rel="nofollow">jquery-ujs Installation</a> is as easy as adding</p>
  
  <pre><code>gem 'jquery-rails', '~&gt; 2.1'
  </code></pre>
  
  <p>to the Gemfile, and running:</p>
  
  <pre><code>$ bundle install
  </code></pre>
  
  <hr>
  
  <p>My app is running <strong>Rails 3.0.15</strong>, and <code>jquery-rails</code> seems to be compatible with it:</p>
  
  <blockquote>
    <p>For Rails 3.0 , run [...]</p>
  </blockquote>
  
  <p>but when bundling <code>jquery-rails</code> 2.1, I seem to need Rails 3.1+: </p>
  
  <pre><code>Bundler could not find compatible versions for gem "railties":
    In Gemfile:
      jquery-rails (~&gt; 2.1) x86-mingw32 depends on
        railties (&lt; 5.0, &gt;= 3.1.0) x86-mingw32
  
      rails (= 3.0.15) ruby depends on
        railties (3.0.15)
  </code></pre>
  
  <p>What <code>jquery-rails</code> gem version is compatible with Rails 3.0?</p>
  
  <p><em>(also asked <a href="https://github.com/rails/jquery-ujs/issues/286" rel="nofollow">here</a>)</em></p>