From: Tamara Temple Date: 2013-07-23T22:25:00+09:00 Subject: Re: using qsub from Ruby script produces "command not found" On Jul 23, 2013, at 5:33 AM, Max Doumkine wrote: > Executed as a different user, what user does ruby run under? > > Sincerely, > > Maxim Doumkine > > On Jul 22, 2013, at 20:43, Thomas Luedeke wrote: > >> Here's something else. Create a mini-Korn shell script as such: >> >> #! /bin/ksh >> qsub run.sh >> >> >> >> Save that as "filename", do a chmod +x to make it an executable, then do >> a: >> >> system( "filename" ) >> >> then the qsub works properly. >> >> Why?? >> >> -- >> Posted via http://www.ruby-forum.com/. >> > Whatever user you ran it under… Ruby itself is not a service, although you can certainly run a ruby program as a service (see Rails).