title: How can i solve Capistrano command error, cap production deploy?
body: <p>I am on windows machine while using the command line i get this error 
  "(Backtrace restricted to imported tasks) cap aborted! LoadError: cannot load such file -- capistrano/passenger C:/Sites/Buy/Capfile:23:in `'
  (See full trace by running task with --trace)"</p>
  
  <p>And on git bash with the same command i have this error. 
  " cap production deploy C:/tools/ruby21/lib/ruby/2.1.0/rubygems.rb:235:in <code>bin_path': can't find gem capistrano (["&gt;= 0.a"]) (Gem::GemNotFoundException)
   from C:/RailsInstaller/Ruby2.1.0/bin/cap:22:in</code>'"</p>
  
  <p>The gems i am using.</p>
  
  <p>gem 'rails', '4.1.8'</p>
  
  <p>gem 'sqlite3'</p>
  
  <p>gem 'sass-rails', '~> 4.0.3'</p>
  
  <p>gem 'uglifier', '>= 1.3.0'</p>
  
  <p>gem 'coffee-rails', '~> 4.0.0'</p>
  
  <p>gem 'therubyracer',  platforms: :ruby</p>
  
  <p>gem 'rails_12factor', group: :production</p>
  
  <p>gem 'protected_attributes', '~> 1.1', '>= 1.1.3'</p>
  
  <p>gem 'rake', '~> 10.5'</p>
  
  <p>gem 'rake-compiler', '~> 0.9.5'</p>
  
  <p>gem 'rspec', '~> 3.4'</p>
  
  <p>gem 'omniauth-digitalocean', '~> 0.2.0'</p>
  
  <p>gem 'devise', '~> 3.5', '>= 3.5.6'</p>
  
  <p>gem 'bootstrap-sass'</p>
  
  <p>gem 'autoprefixer-rails', '~> 6.3', '>= 6.3.1'</p>
  
  <p>gem 'jquery-rails'</p>
  
  <p>gem 'turbolinks'</p>
  
  <p>gem 'jbuilder', '~> 2.0'</p>
  
  <p>gem 'sdoc', '~> 0.4.0',          group: :doc</p>
  
  <p>gem 'bcrypt', '~> 3.1.7'</p>
  
  <p>gem 'pg' </p>
  
  <p>gem "cf-autoconfig", "~> 0.2.1"</p>
  
  <p>gem 'omniauth', '~> 1.3', '>= 1.3.1'</p>
  
  <p>gem 'json', '~> 1.8', '>= 1.8.3'</p>
  
  <p>gem 'omniauth-twitter', '~> 1.2', '>= 1.2.1'</p>
  
  <p>gem 'omniauth-facebook', '~> 3.0'</p>
  
  <p>platforms :ruby do</p>
  
  <p>gem 'unicorn'</p>
  
  <p>end</p>
  
  <p>group :development do</p>
  
  <p>gem 'capistrano', '~> 3.4'</p>
  
  <p>gem 'capistrano-bundler', '~> 1.1', '>= 1.1.4'</p>
  
  <p>gem 'capistrano-rbenv', '~> 2.0', '>= 2.0.4'</p>
  
  <p>gem 'capistrano-rails', group: :development</p>
  
  <p>end</p>
  
  <p>gem 'tzinfo-data', platforms: [:mingw, :mswin]</p>