Hi,
I have three scripts in my rails application under “script” directory.
I am running those scripts one by one with command “ruby runner
test1.rb”
“ruby runner test2.rb”, “ruby runner test3.rb”.
I want to create one more script, which will invoke these commands and
run one by one.
Is that possible in ror?
Thanks,
Tushar
On Thu, Nov 12, 2009 at 6:20 AM, Tushar G.
[email protected] wrote:
Hi,
I have three scripts in my rails application under “script” directory.
I am running those scripts one by one with command “ruby runner
test1.rb”
“ruby runner test2.rb”, “ruby runner test3.rb”.
I want to create one more script, which will invoke these commands and
run one by one.
Is that possible in ror?
That has nothing to do with Rails, you can build a shell script to
call those ruby scripts.
If you want to do it in ruby, you also can, take a look at ri
Kernel#system.
–
Leonardo M…
There’s no place like ~