Creating / manipulating ms-word files

Hi all,

Is there a way to create and/or edit MS Word files from ruby / rails?

If not, maybe RTF is an option?

Thanks, Regards,

Harm de Laat