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:// cached-copy

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

set :repository, "ssh://"
set :scm, :git
set :deploy_via, :remote_cache

And finally deploy:

cap deploy

solved :)

ref: here


comments powered by Disqus