can anyone help me install ruby-mode for emacs?
i've tried a couple things, but nothing is working thus far.
i followed the instructions on this site (despite it being intended for the windows version of emacs)
i've downloaded ruby-mode.el from the Ruby source distribution as directed and placed it in /usr/share/emacs/site-lisp
i even gave it execute priveledges.
i then added these lines to my .emacs file:
i also tried installing ruby1.8-elisp package from the repos.Code:; loads ruby mode when a .rb file is opened. (autoload 'ruby-mode "ruby-mode" "Major mode for editing ruby scripts." t) (setq auto-mode-alist (cons '(".rb$" . ruby-mode) auto-mode-alist)) (setq auto-mode-alist (cons '(".rhtml$" . html-mode) auto-mode-alist))
when i load up a .rb file, emacs says it loaded ruby mode, but i dont see any syntax highlighting
any help is appreciated. i like the functionality of emacs, but i always have trouble customizing it.