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