1
我對Ruby沒有多少了解。我必須託管一個Ruby網站。當我進行部署設置並檢查時,一切都好。但是當我部署時出現以下錯誤。當使用capistrano時,Ruby on Rails在bundle安裝上失敗
*** [deploy:update_code] rolling back
* executing "rm -rf /var/www/lpavisit/releases/20131009211837; true"
servers: ["x.xx.xx.xxx"]
[5.56.61.183] executing command
command finished in 209ms
failed: "sh -c 'cd /var/www/lpavisit/releases/20131009211837 && bundle install --without development test'" on x.xx.xx.xxx
謝謝!!
請添加完整的錯誤信息。你刪除了描述失敗原因的部分。 – Dogweather
查看終端消息首先刪除執行「rm -rf/var/www/lpavisit/releases/20131009211837; true」的目錄然後嘗試使用cd命令進入相同的目錄cd/var/www/lpavisit/releases/20131009211837 && bundle在x.xx.xx.xxx上安裝 - 「沒有開發測試」。我認爲你的部署腳本可能有些問題。 –