git-deploy
git-deploy copied to clipboard
I can't delete files, causes error
If I delete a file locally, commit it, git deploy it, I get the following errors, and it doesn't remove it from my server.
Deleting index.html
c:/Ruby193/lib/ruby/gems/1.9.1/gems/net-sftp-2.0.5/lib/net/sftp/session.rb:846:in `wait_for': Net::SFTP::StatusException (2, "no such file") (Net::SFTP::StatusException)
from c:/Ruby193/lib/ruby/gems/1.9.1/gems/net-sftp-2.0.5/lib/net/sftp/session.rb:475:in `remove!'
from c:/Ruby193/bin/git-deploy:254:in `delete'
from c:/Ruby193/bin/git-deploy:210:in `block in upload'
from c:/Ruby193/bin/git-deploy:193:in `each'
from c:/Ruby193/bin/git-deploy:193:in `upload'
from c:/Ruby193/bin/git-deploy:125:in `automate'
from c:/Ruby193/bin/git-deploy:529:in `block in <main>'
from c:/Ruby193/bin/git-deploy:484:in `each'
from c:/Ruby193/bin/git-deploy:484:in `<main>'