I have a capistrano taks like this
require \"bundler/capistrano\" set :application, \"cloudoc\" set :repository, \"git@github.com:luizkowalski/cloudoc.git\
I was running into this error and realized I was storing all my previously releases. I simply used cap deploy:cleanup and it worked great.
cap deploy:cleanup