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]"
subject: Executing ruby script remotely
Callling a Script from a java program
Ruby as multi purpose scripting language?
Remote Debugging in Eclipse
Start and stop apache service running on a remote server in ANT
Can't start with Ruby on Windows
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013