w.l.kleb / larc.nasa.gov writes:

> at this point however, i am tired of the mark region
> (M-<, M->), execute shell command 'ruby' on region
> (M-|, ruby, [enter]) sequence.  is there an easier
> way to execute ruby on a given buffer, e.g., like
> auctex's "C-c c" for (La)TeX?  as a bonus auctex's
> mode automagically takes you to the line in the code
> that failed .

Have you had a look at inf-ruby (also in the misc directory)? It takes
a bit of setting up, but it lets you pipe things to a Ruby process or
to irb, running in an inferior shell.


Dave