# File lib/rake/contrib/publisher.rb, line 46 46: def upload 47: run %{ssh #{@host} rm -rf #{@remote_dir}} rescue nil 48: run %{ssh #{@host} mkdir #{@remote_dir}} 49: super 50: end