Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more
Rake::SshDirPublisher
Publish an entire directory to a fresh remote directory using SSH.
# File rake/contrib/sshpublisher.rb, line 24 def upload sh %{ssh #{@host} rm -rf #{@remote_dir}} rescue nil sh %{ssh #{@host} mkdir #{@remote_dir}} super end
This page was generated for Ruby 1.9.3
Ruby-doc.org is a service of James Britt and Neurogami, purveyors of fine dance noise.
Generated with Ruby-doc Rdoc Generator 0.44.0.