Im having some problems with my capistrano setup after updating my gems lately. I have a multistage setup with a production and staging setup.
/config/deploy.rb
I eventually solved this by adding the following to my deploy/production.rb and testing.rb
set(:deploy_to) { "/var/www/#{application}/live" }
set(:releases_path) { File.join(deploy_to, version_dir) }
set(:shared_path) { File.join(deploy_to, shared_dir) }
set(:current_path) { File.join(deploy_to, current_dir) }
set(:release_path) { File.join(releases_path, release_name) }