Skip to content
The Rulers framework from Rebuilding Rails - caution, will occasionally require a "git pull -f" due to rebase
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib Update Application#call to use get_rack_app Apr 1, 2013
test Add test exercises Dec 10, 2012
Gemfile Initial version of Rulers gem Nov 29, 2012
Rakefile Add test exercises Dec 10, 2012
rulers.gemspec Add SQLite model Dec 18, 2012


This is the Ruby on Rulers framework from the book "Rebuilding Rails" by Noah Gibbs. You can find the canonical branch of this framework at "".

It is primarily for instruction, but it works just fine as a web framework if you want a simple one.

There are tags for different chapter starter code. Type "git tag" for a list.


Add this line to your application's Gemfile:

gem 'rulers', :git =>

And then execute:

$ bundle

Or install it yourself as:

$ gem install rulers

For git gems, you'll need to run "bundle exec rackup" instead of just "rackup".


This framework is instructional and there are good reasons not to use it unmodified in production. Rails is a relatively secure framework, but Rulers is not.

For further details, see the Rails security guides and/or chapter 10 of Rebuilding Rails.


For significant contributions, please fork.

I have no problem with other people starting from this code for any purpose and for any project. You probably want to rename it, though.

You can’t perform that action at this time.