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