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上安装 - “没有开发测试”。我认为你的部署脚本可能有些问题。 –