How to use linux commands in ruby?

Hi
I try to use ‘at’ command in ruby file. I am not able to do this.
basically I want to run adhoc scheduling in my application.

Try this:
system(‘commmand’)
or
command