有人可以向我粘贴带有本地机器配置的“deploy.rb”文件吗?
每当我尝试使用时,cap local deploy
我都会得到onnection failed for: localhost (Errno::ECONNREFUSED: Connection refused - connect(2))
配置:
set :branch, "master"
set :deploy_to, "path/#{application}"
set :domain, "localhost"
role :app, domain
role :web, domain
role :db, domain, :primary => true
任何帮助表示赞赏。