This doesn't answer the question. But I'd just like to point out that 
Emacs is extendible with ruby thanks to el4r[1]. I've been playing 
around with it to build a Emacs GTD app using ical as the backend.

alex

[1] http://www.rubyist.net/~rubikitch/computer/el4r/index.en.html