From: Pranjal Jain Date: 2008-05-05T22:19:48+09:00 Subject: Re: Problem using System command in ruby HI there Yes it is in the same directory princeofnigeria wrote: > Have you verified that the trial.rb file is located in teh saem > directory > that you are running the "system ("ruby trial.rb")" from? > > system("ruby trial.rb") should be run from the same directory as the > trial.rb script. For instance, if you attempt to run this script from > the > drive root of c:\ and the trial.rb script resides in > c:\mycoolrubyscripts\testscripts\ > > Let me know if thats teh problem, if not I can give it another stab. > > On Sun, May 4, 2008 at 11:29 PM, Pranjal Jain > -- Posted via http://www.ruby-forum.com/.