I know a little bit about Emacs as I used it to write my thesis in AUCTex.
However, this time when trying to write some simple ruby program mostly to learn, I googled around for Ruby in Emacs and couldn’t found what I am looking for.
Based on what I read so far, I know that the Emacs(23.3.5) I am using has in-build ruby-mode, which should support basically syntax highlighting, auto indenting etc. But how about short-cut key for debug/run, something like Mode Compile?
I suggest using quickrun.el which is maintenanced by me.
quickrun.el is a extension to execute editing buffer.
quickrun.el supports many programming languages and markup languages, of course
it supports Ruby.
You download quickrun.el following URL.
https://raw.github.com/syohex/emacs-quickrun/master/quickrun.el
And you add quickrun.el following setting to your configuration file and evaluate it(or restart Emacs).
Now you can use following command to execute current buffer.
You can use compile current buffer(not execute).
If you will often use quickrun command, you should assign key bindings, like following.
Please see github page, if you know more information about quickrun.el.
Thanks