File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Executing ruby script remotely
Joined: Mar 11, 2013
Mar 11, 2013 22:24:30
How to execute ruby script remotely or accessing ruby script from one machine and executing it on another machine ?
Joined: Jul 02, 2008
Mar 21, 2013 07:22:45
It takes the same route as executing any script over a remote system over bash. Just do a curl to get the script ruby <(cur -s url)
Joined: May 17, 2013
May 17, 2013 07:36:20
here is an example, using ssh and pgp-key-pairs for authentication, on Unix
In this example, it executes a rake task
ssh [user_name]@[host] "cd [ruby_rails_directory]; RAILS_ENV=[environment] rake [rake_task]"
I agree. Here's the link:
subject: Executing ruby script remotely
Start and stop apache service running on a remote server in ANT
Callling a Script from a java program
Remote Debugging in Eclipse
Can't start with Ruby on Windows
Ruby as multi purpose scripting language?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014