В настоящее время есть следующий deploy.rb (но он не работает)
set :application, "clashcentral"
set :repository, "git@github.com:HairyMezican/GameLobby.git"
set :branch, "master"
set :repository_cache, "git_cache"
set :deploy_via, :remote_cache
set :ssh_options, { :forward_agent => true }
set :scm, :git
ssh_options[:keys] = [File.join(ENV["HOME"], ".ec2", "ec2-keypair")]
role :web, "ec2-12-34-56-789.compute-1.amazonaws.com"
role :app, "ec2-12-34-56-789.compute-1.amazonaws.com"
role :db, "ec2-12-34-56-789.compute-1.amazonaws.com", :primary => true