Ruby on rails 3 新存储库、生产问题

Ruby on rails 3 新存储库、生产问题,ruby-on-rails-3,git,capistrano,Ruby On Rails 3,Git,Capistrano,我在生产服务器上部署项目时遇到问题。我们使用Capistrano和Passenger。问题是我们将GitHub上的项目存储库移动到了另一个帐户。我在deploy.rb文件中更改了存储库地址,但是,在“cap production deploy”期间,在生产服务器进行身份验证后,Capistrano正在查找一个旧的存储库,但失败了。我怀疑这是生产上的repository.git中的一个更改,但我不知道如何做 servers: ["85.xxx.xxx.xxx"] Password: [85.xx

我在生产服务器上部署项目时遇到问题。我们使用Capistrano和Passenger。问题是我们将GitHub上的项目存储库移动到了另一个帐户。我在deploy.rb文件中更改了存储库地址,但是,在“cap production deploy”期间,在生产服务器进行身份验证后,Capistrano正在查找一个旧的存储库,但失败了。我怀疑这是生产上的repository.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

尝试编辑
shared/cached copy/.git/config
并修改其中列出的git repo。如果您使用
remote\u cache
方法,它会保留一个本地git repo并在远程计算机上更新它。将它重新指向新的git repo,您就可以开始了。

尝试编辑
shared/cached copy/.git/config
和modify这里列出的git repo。如果你使用
remote\u cache
方法,它会保留一个本地git repo并在远程机器上更新它。将它重新指向你的新git repo,你就可以开始了