I have a simple deployment via capistrano from a Git repository.

I wanted to change the repository I was working with so I basically just changed

set :repository, "git@github.com:new_repository"

But i get the following error when deploying:

fatal: Could not parse object '9cfb...'.

The problem goes away once I change

set :deploy_via, :remote_cache

to

set :deploy_via, :copy

I also tried deploy:cleanup but I get the following error:

*`deploy:cleanup' is only run for servers matching {:except=>{:no_release=>true}}, but no servers matched*

Any idea how could i get remote_cache working again?

Thansk!

Edit
Report