git-deploy
git-deploy copied to clipboard
Undefined method 'list' ?
after lots of struggling with the deploy.yml I'm now getting this: /usr/local/bin/git-deploy:285:in dir_empty?': undefined methodlist' for nil:NilClass (NoMethodError)
Regular FTP is working though (:
Nothing is working for me here (..nothing but the FTP, but the SFTP might be faster in only one continues connection for the entire transfer, right?), the .yml dosen't get read properly, and when reformatting it to the one liner that works, but then it throws the error above, at me.
I also tried with different versions of Ruby through RVM - but well, I'm a freakin' noob at this crap. I just wanted to get off FTP and into Git deployment.
change line 293 from:
@sftp.list('*').empty?
to
@sftp.dir.glob("#{@path}", "*").empty?