【发布时间】:2011-05-30 08:05:22
【问题描述】:
我在生产服务器上部署项目时遇到问题。我们使用 Capistrano 和Passenger。问题是我们将 GitHub 上的项目存储库移到了另一个帐户。我更改了文件 deploy.rb 中的存储库地址,但是,在“cap production deploy”期间,经过生产服务器的身份验证,Capistrano 正在寻找旧的存储库,但失败了。我怀疑这是存储库中的更改. git 在生产中,但我不知道该怎么做。
servers: ["85.xxx.xxx.xxx"]
Password:
[85.xxx.xxx.xx] executing command
** [85.xxx.xxx.xx:: err] ERROR: repo / repo.git does not exist. Did you enter it correctly?
** [85.xxx.xxx.xx:: err] fatal: The remote end hung up unexpectedly
command finished in 4220ms
*** [deploy: update_code] rolling back
【问题讨论】:
标签: ruby-on-rails-3 git capistrano