Use Eclipse. It's free, it has superior code editing and there's a
(simple) Ruby plugin. Works great for me.