我在服务器端设置了一个空的 git repo,一切都设置好了。
Cap deploy:setup 执行此操作
[109.etc] env RAILS_ENV=production sh -c 'git clone git@109.etc:srv/paintings.git /srv/paintings/current'
** [out :: 109.etc] Initialized empty Git repository in /srv/paintings/current/.git/
** [out :: 109.etc] The authenticity of host '109.etc (109.etc)' can't be established.
** [out :: 109.etc] RSA key fingerprint is e9:af:d6:d3:0e:f5:de:a3:4a:31:6e:8e:4a:c7:b7:ee.
** [out :: 109.etc] Are you sure you want to continue connecting (yes/no)?
*当我输入 yes 或 y 时,它只是“挂起”似乎什么都没有发生... * 在 cap deploy:setup 之后已经尝试过 --debug 可能有什么问题?