public
Description: Rinari Is Not A Rails IDE
Homepage: http://rinari.rubyforge.org
Clone URL: git://github.com/technomancy/rinari.git
technomancy (author)
Wed Jul 02 12:17:18 -0700 2008
commit  e6f3043c8e432c8e2d7e8d6e7b86d5fd78ffe8cb
tree    319c21b46b96600a87149306cf3b9b1b6f1e0529
parent  2d5c35e7484828aa4e0c4c56ceb3b256757f1927
rinari / README
100644 44 lines (33 sloc) 1.494 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
= Rinari Is Not A Ruby IDE.
  http://rinari.rubyforge.org
  http://github.com/eschulte/rinari/tree/master (for this fork of Rinari)
 
Well, ok it kind of is. Rinari is a set of Emacs Lisp modes that is
aimed towards making Emacs into a top-notch Ruby and Rails development
environment.
 
Copy the directory containing this file into your Emacs lisp
directory, assumed here to be ~/.emacs.d. Add these lines of code to
your .emacs file:
 
  (add-to-list 'load-path "~/.emacs.d/rinari")
  (require 'rinari)
  (global-set-key (kbd "C-x C-M-f") 'find-file-in-project) ;; optional
 
Copies of ruby-mode.el, inf-ruby.el, and other dependencies have been
included for convienience (and this copy of inf-ruby contains a fix
not yet in the official version). Nxhtml-mode is not included because
it's rather large, so you should download it here:
 
  http://ourcomments.org/Emacs/nXhtml/doc/nxhtml.html
 
One possible .init file for nxhtml in rinari would be
 
;;; nxml (HTML ERB template support)
(load "~/.emacs.d/nxml/autostart.el")
 
(setq
 nxhtml-global-minor-mode t
 mumamo-chunk-coloring 'submode-colored
 nxhtml-skip-welcome t
 indent-region-mode t
 rng-nxml-auto-validate-flag nil
 nxml-degraded t)
 
For a quick overview of Rinari's functions load Rinari as described
above, then cd into your rails directory (in an eshell or shell
buffer), or open a file in a rails directory and run
`rinari-run-what' \C-c'<TAB>.
 
For discussion of Rinari development see
http://groups.google.com/group/emacs-on-rails