title: capistrano deploys database.yml to release instead of current
body: <p>My capistrano resipe tries to pull in the databse.yml from the releases directory instead of </p>
  
  <pre><code>/var/www/pantry/current/config/database.yml
  </code></pre>
  
  <p>and crashes with the following error:</p>
  
  <pre><code>No such file or directory - /var/www/pantry/releases/20130610020222/config/database.yml
  </code></pre>
  
  <p>My deploy.rb</p>
  
  <pre><code>require "rvm/capistrano"
  require "bundler/capistrano"
  set :application, "pantry"
  set :repository,  "git@github.com:tbrooke/food-pantry-manager.git"
  set :user, 'deployer'
  set :ssh_options, {:forward_agent =&gt; true}
  set :use_sudo, false
  set :rvm_type, :user
  default_run_options[:pty] = true
  set :scm, :git
  
  set :deploy_to, "/var/www/pantry"
  set :branch, "master"
  set :deploy_via, :remote_cache
  set :use_sudo, false
  
  server "192.168.1.30", :web, :app, :db, primary: true
  
  ssh_options[:forward_agent] = true
  
  role :web,    "192.168.1.30"
  role :app,    "192.168.1.30"
  role :db,     "192.168.1.30", :primary =&gt; true
  
  after "deploy", "deploy:migrate"
  
  after 'deploy:update_code', 'deploy:symlink_db'
  
  namespace  :deploy do
     desc "Symlinks the database.yml"
     task :symlink_db, :roles =&gt; :app do
     run "ln -nfs #{shared_path}config/database.yml #{release_path}/config/database.yml"
     end
  end
  
  require 'simple-capistrano-unicorn'
  after :deploy, "unicorn:restart"
  </code></pre>
  
  <p>How do I change this to point to the current directory?</p>