EMacs on OS/X for Rails development
Being a step-by-step guide as an aide for the failing memory. Inspired by the screenshots of Dee Zsombor
-
Get a Tiger compatible Emacs
-
(unfortunately Aquamacs does strange (i.e non-emacs) things with it’s windows, so ECB falls on it’s face)
-
Install RubyMode.el (from the Ruby distribution)
-
Download supporting libraries (eieio, speedbar, semantic) and install them (usually make, make install and an entry in .emacs)
-
Download MMM (Multiple-Major-Modes) so you have support for both HTML and ERB in those .rhtml files
-
get ruby-electric.el and install it
-
find the SVN mode for Emacs and install it
-
Scott has some tips on MMM and ERB templates
-
ido.el is a nice extension for switching buffers and finding files
All my extensions are in ~/lisp and that file (as well as ~/.emacs) are under version control in Subversion. That way, I can check out my workspace on any machine and have a configured way of doing things.
see my .emacs file for a possible way of doing this
All of this should work on a Windows box too
Technorati Tags: emacs, [ruby on rails](https://technorati.com/tag/ruby on rails)