Zeus

What is Zeus?

Zeus preloads your app so that your normal development tasks such as console, server, generate, and tests take ONE second.

This screencast gives a quick overview of how to use zeus:

Watch the screencast!

Requirements

Pretty specific:

  • OS X 10.7+
  • Ruby 1.9+
  • Rails 3.0+ (Support for other versions is not difficult and is planned.)
  • Backported GC from Ruby 2.0.

You can install the GC-patched ruby from this gist or from RVM.

Installation

Install the gem.

gem install zeus

Usage

Start the server:

zeus start

Run some commands:

zeus console
zeus server
zeus testrb -Itest -I. test/unit/omg_test.rb
zeus generate model omg
zeus rake -T
zeus runner omg.rb

Contributing

Fork, Branch, Pull Request.

Thanks...

  • To Stefan Penner for discussion and various contributions.
  • To Samuel Kadolph for doing most of the cross-process pseudoterminal legwork.
  • To Jesse Storimer for spin, part of the inspiration for this project
  • To Shopify for letting me spend (some of) my days working on this.

Doesn't work for you?

Try these libraries instead: