Repo 搬家後 Capistrano Deploy Could not parse object 的解法

First delete and re-clone the repo using the new address:

cd to [shared folder]
rm -rf cached-copy
git clone ssh://git@example.org/new/repo.git cached-copy

Then modify your config/deploy.rb to use the new repo:

set :repository, "ssh://git@example.org/new/repo.git"
set :scm, :git
set :deploy_via, :remote_cache

And finally deploy:

cap deploy

solved :)

ref: here

Comments

comments powered by Disqus