On 5/23/07, davy.bold / googlemail.com <davy.bold / googlemail.com> wrote:
> Hello,
>
> I am totally new to ruby and interested in doing a backup job on
> windows in ruby. Don't know if it is possible though!
>
> I would need to get backups of Trac and Subversion with their
> respective admin tools like svn-admin.exe.
>
> So what the script should do is making a call like svn-admin arg1 arg2
> etc.
>
> How can I do this?
>
> Thanks in advance

either
arg1 = "sdas"
arg2 = "sadada"
`svn-admin #{arg1} #{arg2}`

or replace the last line with
system('svn-admin', arg1, arg2)