title: Devise with Rails 4
body: <p>The team behind Devise announced via blogpost 
  <a href="http://blog.plataformatec.com.br/2013/05/devise-and-rails-4/" rel="noreferrer">http://blog.plataformatec.com.br/2013/05/devise-and-rails-4/</a> that it was releasing a version that is compatible with Rails 4, calling it  '3.0 rc'. In the same blog post, it also said it's releasing <code>Devise 2.2.4.</code></p>
  
  <p>I'm trying to build a Rails 4 app. when I did <code>gem install Devise</code>, it installed 2.2.4, not the version compatible with Rails 4.</p>
  
  <pre><code>Fetching: devise-2.2.4.gem (100%) 
  </code></pre>
  
  <p>Which I assume from the comments in the blogpost about strong parameters is not going to be compatible with Rails 4.</p>
  
  <p>I looked at Devise's github page but it's not obvious to me how to install the version compatible with Rails 4.   Can you assist? </p>
  
  <p><a href="https://github.com/plataformatec/devise" rel="noreferrer">https://github.com/plataformatec/devise</a></p>
  
  <p>Note, I tried</p>
  
  <pre><code>gem install devise --version 3.0.0.rc1
  </code></pre>
  
  <p>but it said </p>
  
  <pre><code>ERROR:  Could not find a valid gem 'devise' (= 3.0.0.rc1) in any repository
  ERROR:  Possible alternatives: devise
  </code></pre>