Let me clear up a remark I made at the top of this thread, and even my followup posts.
When I said "that is not the topic", I thought I was posting to Lewis's thread about a Ruby vulnerability that applies to people who use Ruby on a server for websites.
However, this thread, your topic, certainly applies, and yes, you can do just about anything you want with Ruby.