# File lib/rake/contrib/sshpublisher.rb, line 24 24: def upload 25: sh %{ssh #{@host} rm -rf #{@remote_dir}} rescue nil 26: sh %{ssh #{@host} mkdir #{@remote_dir}} 27: super 28: end