ruby-mode
$ sudo apt-get install ruby-elisp
ruby-modeのelispをインストールしたのち、下記を参考に.emacsに追記
(autoload 'ruby-mode "ruby-mode" "Mode for editing ruby source files" t) (setq auto-mode-alist (append '(("\\.rb$" . ruby-mode)) auto-mode-alist)) (setq interpreter-mode-alist (append '(("ruby" . ruby-mode)) interpreter-mode-alist)) (autoload 'run-ruby "inf-ruby" "Run an inferior Ruby process") (autoload 'inf-ruby-keys "inf-ruby" "Set local key defs for inf-ruby in ruby-mode") (add-hook 'ruby-mode-hook '(lambda () (inf-ruby-keys)))http://pub.cozmixng.org/~the-rwiki/rw-cgi.rb?cmd=view;name=Emacs