Emacs support for using the Sinatra web development DSL
This includes...
- a major mode combining ruby-mode and haml-mode for your main sinatra file
- a command sinatra-console \C-;c for quickly running irb in your sinatra environment
- a command sinatra-web-server \C-;w for quickly running your sinatra web-server in an Emacs comint buffer allowing jumping from errors to source
- bundled with some basic ruby modes
To use sinatra_el...
- add this directory to your load path
- add this to your .emacs init file (require 'sinatra)
- open your sinatra application file, and run M-x sinatra-mode
Note: due to limitation of MuMaMo-mode you must add the following haml comment line
-#end-of-file
to the bottom of your file for haml mode to turn on following the __END__ marker