Deploy application to localhost using Capistrano

谁说胖子不能爱 提交于 2019-12-12 01:36:35

问题


can somebody paste me "deploy.rb" file with configuration for LOCAL MACHINE ?

Whenever i try to use cap local deploy i get onnection failed for: localhost (Errno::ECONNREFUSED: Connection refused - connect(2))

Configuration:

set :branch, "master"
set :deploy_to, "path/#{application}"

set :domain, "localhost"
role :app, domain
role :web, domain
role :db, domain, :primary => true

Any help appreciated.


回答1:


Anwser is very simple... SSH Agent was not enabled.



来源:https://stackoverflow.com/questions/10948793/deploy-application-to-localhost-using-capistrano

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!