Inside my ruby script I need to run a script sh which is located in another machine (opening an ssh connection?) and then continues with my program. So:
my ruby script (e.g: Machine 10.1.1.2)
generic command
generic command ...
RUN SCRIPT UPDATE.SH ON MACHINE 10.1.1.15
generic command
generic command