# File lib/rake_remote_task.rb, line 123 def rsync *args unless @happy || args[-1] =~ /:/ then warn "rsync deprecation: pass target_host:remote_path explicitly" args[-1] = "#{target_host}:#{args[-1]}" end cmd = [rsync_cmd, rsync_flags, args].flatten.compact cmdstr = cmd.join ' ' warn cmdstr if $TRACE success = system(*cmd) raise Vlad::CommandFailedError, "execution failed: #{cmdstr}" unless success end