2
我在服务器端安装了一个空的git仓库,并且安装了所有东西。cap deploy:安装挂起?
帽部署:安装程序执行此
[109.etc] env RAILS_ENV=production sh -c 'git clone [email protected]: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,它只是“挂起”没什么似乎发生...... *已经尝试过--debug帽部署后:设置什么可能是错的?
添加如建议,但帽部署的问题:安装仍然存在,我可以不做密码提示现在执行ssh root @ myhost。主机的真实性不能...仍然存在:( – Rubytastic 2012-03-15 16:02:02
)您是否从该机器的根用户进行部署?您必须从实际执行部署的任何用户SSH进入109.etc。 – Veraticus 2012-03-15 16:04:29
固定它有我的/ etc/hosts中的主机,并使用别名而不是Ip现在我有新的错误--deployment标志需要一个Gemfile.lock。请确保在部署前检查了您的Gemfile.lock版本控制。我检查你的答案,接受一个thx很多的帮助,这听起来像我3天。 – Rubytastic 2012-03-15 16:06:53