On 16-Apr-2011, Ryan Davis <ryand-ruby / zenspider.com> wrote:

> It'd be a lot more maintainable if you didn't modify the file and instead
> added the define-key to your .emacs:
>
> (define-key ruby-compilation-minor-mode-map [return] 'comint-send-input)

Yes, that's definitely better than my crude hack.