title: LoadError: cannot load such file -- capistrano/rbenv
body: <p>I'm following <a href="http://www.gotealeaf.com/blog/deploy-rails-apps-with-capistrano">this guide</a> to deploy my Rails app on DigitalOcean using Capistrano.</p>
  
  <p>At the end of stop 5 I check the server availability through the following command:</p>
  
  <pre><code>cap production deploy:check
  </code></pre>
  
  <p>Which results in:</p>
  
  <pre><code>alucardu@alucardu-VirtualBox:~/sites/movieseat$ cap production deploy:check
  cap aborted!
  LoadError: cannot load such file -- capistrano/rbenv
  /home/alucardu/sites/movieseat/Capfile:18:in `&lt;top (required)&gt;'
  (See full trace by running task with --trace)
  </code></pre>
  
  <p>In my gemfile I have:</p>
  
  <pre><code># Add capistrano
  gem 'capistrano-bundler' # for capistrano/bundler
  gem 'capistrano-rails' # for capistrano/rails/*
  </code></pre>
  
  <p>And:</p>
  
  <pre><code>group: :development do
    gem 'capistrano', '~&gt; 3.0', require: false
    gem 'capistrano-bundler', require: false
    gem 'capistrano-rails', require: false
    gem 'capistrano-rbenv', github: 'capistrano/rbenv', require: false
  end
  </code></pre>
  
  <p>In my Capfile I have:</p>
  
  <pre><code>require 'capistrano/rbenv'
  # require 'capistrano/chruby'
  require 'capistrano/bundler'
  require 'capistrano/rails/assets'
  require 'capistrano/rails/migrations'
  </code></pre>
  
  <p>I also did a rbenv version check.</p>
  
  <pre><code>alucardu@alucardu-VirtualBox:~/sites/movieseat$ rbenv -v
  rbenv 0.4.0-98-g13a474c
  </code></pre>
  
  <p>Can someone point me to the problem?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I guess I hadn't installed the gem yet.</p>
  
  <p>Fixed it.</p>
  
  <pre><code>gem install capistrano-rbenv
  </code></pre>