title: Unable to run cap deploy:setup on ec2, the task `deploy:setup' does not exist
body: <p>I have installed ruby (using rvm), phusion passenger, &amp; all or requirements. </p>
  
  <p>Also on ec2 I get success message when I run $ ssh -T git@github.com</p>
  
  <p>But when i try to run -> $cap deploy:setup, I get an error message
  the task `deploy:setup' does not exist</p>
  
  <p>cap -vT</p>
  
  <pre><code>➜  bridge1 git:(master) cap -vT
  cap bundle:install # Install the current Bundler environment.
  cap deploy:restart # 
  cap deploy:start   # 
  cap deploy:stop    # 
  cap invoke         # Invoke a single command on the remote servers.
  cap shell          # Begin an interactive Capistrano session.
  
  Extended help may be available for these tasks.
  Type `cap -e taskname' to view it.
  </code></pre>
  
  <p>this is my deploy.rb </p>
  
  <pre><code>require 'bundler/capistrano'
  #using  RVM!
  $:.unshift("#{ENV["HOME"]}/.rvm/lib")
  require "rvm/capistrano"
  set :rvm_type, :user
  
  
  set :application, "capi_app"
  set :deploy_to, "/var/www/#{application}"
  
  role :web, "184.169.135.60"                          # Your HTTP server, Apache/etc
  role :app, "184.169.135.60"                         # This may be the same as your `Web` server
  role :db,  "184.169.135.60", :primary =&gt; true # This is where Rails migrations will run
  
  
  default_run_options[:pty] =  true
  set :repository,  "git@github.com:jaipratik/gibridge1.git"
  set :scm, :git
  set :branch, "master"
  
  
  set :user, "ubuntu"            
  set :use_sudo, false
  set :admin_runner, "ubuntu"
  
  set :rails_env, 'production'     
  #set :use_sudo, false   #if error delete this
  
  
  # If you are using Passenger mod_rails uncomment this:
  namespace :deploy do
    task :start do ; end
    task :stop do ; end
    task :restart, :roles =&gt; :app, :except =&gt; { :no_release =&gt; true } do
      run "#{try_sudo} touch #{File.join(current_path,'tmp','restart.txt')}"
    end
  end
  </code></pre>
  
  <p>Gemfile</p>
  
  <pre><code>source 'https://rubygems.org'
  
  gem 'rails', '3.2.1'
  
  # Bundle edge Rails instead:
  # gem 'rails', :git =&gt; 'git://github.com/rails/rails.git'
  
  gem 'sqlite3'
  
  
  # Gems used only for assets and not required
  # in production environments by default.
  group :assets do
    gem 'sass-rails',   '~&gt; 3.2.3'
    gem 'coffee-rails', '~&gt; 3.2.1'
  
    # See https://github.com/sstephenson/execjs#readme for more supported runtimes
    # gem 'therubyracer'
  
    gem 'uglifier', '&gt;= 1.0.3'
  end
  
  gem 'jquery-rails'
  
  # To use ActiveModel has_secure_password
  # gem 'bcrypt-ruby', '~&gt; 3.0.0'
  
  # To use Jbuilder templates for JSON
  # gem 'jbuilder'
  
  # Use unicorn as the web server
  # gem 'unicorn'
  
  # Deploy with Capistrano
   gem 'capistrano'
  
  # To use debugger
  # gem 'ruby-debug19', :require =&gt; 'ruby-debug'
  
  
  group :test do
    # Pretty printed test output
    gem 'turn', :require =&gt; false
  end
  
  
  group :production do
    gem 'therubyracer'
  end
  </code></pre>