Rails editor was borne out of the desire for a fast, portable console interface which could fulfill two primary tasks -
- Remote Pairing
- Shared Editing
After looking at the options available out there (See subEthaEdit), we decided GNUScreen was the best solution for the multi-user side of things, with Vim (or Emacs, if you're trappist) as the editor. We wished for it to be simple but extendable, and created a gem in 2006 with the basic structure. After two years of use, we've finally turned it into a proper generator, though we admit we've not come up with a test-harness for such a simple procedure. Check it out, then check it out. If you are not a console junkie (yet), many find it useful simply for spot-edits on remotely deployed applications, where you would be stuck with Vim or Emacs or something similar in any case.
Installation
From a RAILS_ROOT:
git clone git://rubyists.com/gits/rails_editor vendor/plugins/rails-editor ./script/generate editor YourProject
where YourProject? is the name your screen sessions will take on.
Usage
In your RAILS_ROOT:
script/editor
will start the screen session with 10 windows (Your IDE)
editor supports standard flags (like --help.) Check them out to see what you can do to customize your environment.
