title: Capistrano deployment problems
body: <p>When I type</p>
  
  <p><code>cap production deploy</code></p>
  
  <p>I get</p>
  
  <p><code>Capfile locked at 3.1.0, but 3.2.0 is loaded</code></p>
  
  <p>When I uninstall <code>capistrano 3.2.0</code> I get </p>
  
  <pre><code>Could not find capistrano-3.2.0 in any of the sources
  Run `bundle install` to install missing gems.
  </code></pre>
  
  <p>Me gemfile has</p>
  
  <pre><code>gem 'capistrano', '~&gt; 3.1'
  gem 'capistrano-rails', '~&gt; 1.1'
  </code></pre>
  
  <p>And Capfile</p>
  
  <pre><code>require 'capistrano/setup'
  require 'capistrano/deploy'
  require 'capistrano/bundler'
  require 'capistrano/rails/assets'
  </code></pre>
  
  <p>What to do in that case?</p>