public
Description: Rinari Is Not A Rails IDE
Homepage: http://rinari.rubyforge.org
Clone URL: git://github.com/technomancy/rinari.git
Search Repo:
technomancy (author)
Wed Jul 02 12:17:18 -0700 2008
commit  e6f3043c8e432c8e2d7e8d6e7b86d5fd78ffe8cb
tree    319c21b46b96600a87149306cf3b9b1b6f1e0529
parent  2d5c35e7484828aa4e0c4c56ceb3b256757f1927
rinari /
name age message
folder .gitignore Fri Jun 13 12:07:56 -0700 2008 changes include: seperating rails-script tasks,... [Eric Schulte]
folder README Wed Jul 02 12:17:18 -0700 2008 minor doco tweaks [technomancy]
folder Rakefile Wed Jul 02 09:10:14 -0700 2008 added a rake file for tests [technomancy]
folder TODO Tue Jul 01 08:25:26 -0700 2008 updated TODO [eschulte]
folder find-file-in-project.el Fri Jun 27 13:28:35 -0700 2008 cleaned up, ready for dissemination [eschulte]
folder inf-ruby.el Tue Jun 24 15:37:47 -0700 2008 cleaner, smaller, and more useful... [eschulte]
folder pcmpl-rake.el Tue May 13 11:04:37 -0700 2008 Initial import of rinari 2 [technomancy]
folder project-local-variables.el Tue May 13 11:04:37 -0700 2008 Initial import of rinari 2 [technomancy]
folder rinari.el Wed Jul 02 12:17:18 -0700 2008 minor doco tweaks [technomancy]
folder ruby-compilation.el Mon Jun 30 12:00:39 -0700 2008 added ruby-compilation minor mode, added rinari... [eschulte]
folder ruby-mode.el Sun Jun 08 19:21:52 -0700 2008 add some more dependencies and a README [technomancy]
folder test/ Wed Jul 02 09:10:14 -0700 2008 added a rake file for tests [technomancy]
folder toggle.el Mon Jun 30 06:48:25 -0700 2008 fixed bug in toggle.el [eschulte]
README
= 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