# File lib/rake_remote_task.rb, line 174 def rsync local, remote cmd = [rsync_cmd, rsync_flags, local, "#{@target_host}:#{remote}"].flatten.compact success = system(*cmd) unless success then raise Vlad::CommandFailedError, "execution failed: #{cmd.join ' '}" end end