> how can I run a system command in ruby like the one in perl
> system(command,options)

Same way..

system("echo","All your base are belong to us")

http://www.rubycentral.com/book/ref_m_kernel.html#system

-- 
"If a system is administered wisely, | eric / ecks.org
its users will be content,           | www.ecks.org/~eric
with hacking away at their terminal, | ECSL - What conspiracy?
void of any malicious intent."       | "Tea. Earl Grey. Hot."