Skip to content
Making Sinatra swing.
Find file
Latest commit 1a4e50d @rkh Edited via GitHub
Failed to load latest commit information.
lib/sinatra No longer support `require "big_band"`
tasks v0.5.0
.gitignore v0.5.0
Gemfile Add Gemfile, handy for CI.
Gemfile.lock add Gemfile.lock
LICENSE update year Edited via GitHub
Rakefile remove runcoderun logic v0.5.0
big_band.gemspec v0.5.0
subproject.rb added sinatra-extension

Project is no longer maintained, please use sinatra-contrib instead.


BigBand is a stack of Sinatra extensions, most of them developed as part of BigBand, but usable without, each of available as a separate gem. All BigBand extensions follow the same release cycle.


Simply replace Sinatra::Base with Sinatra::BigBand in your application.

require 'sinatra/big_band'
class MyApp < Sinatra::BigBand
  # ...

The BigBand Stack

Sinatra Extensions

Sinatra tool integration:

  • AsyncRack – Makes standard rack middleware play nice with async.callback
  • Haml::More – Adds more functionality to Haml and Sass
  • monkey-lib – Thin layer over ruby extension libraries (like ActiveSupport) to make those pluggable
  • Sinatra::TestHelper – Adds helper methods and better integration for various testing frameworks
  • Sinatra::Extension – Mixin to ease Sinatra extension development.
  • Yard::Sinatra – Displays Sinatra routes (including comments) in YARD output

Besides those extensions, there are others in the BigBand stack, that are external:

General Goals

  • No sub-project relies on BigBand
  • All sub-projects should work with MRI/REE >= 1.8.6 (including 1.9.x), JRuby >= 1.4.0 (>= 1.6.0 recommended) and Rubinius >= 1.0
  • Some sub-projects should work with MagLev and IronRuby (partial MacRuby support planned for later release)
  • Ease to modify the stack

Setup via gem


gem install big_band

Running the specs / Manual setup

Try something like this:

# dependencies, rather mainstream. just in case you don't have one of those.
gem install sinatra rspec rack-test rake

# get the source
git clone git://
rake setup:read_only

# run the specs
rake spec

# run with multiple ruby implementations using rvm
rvm specs ree,1.9.1,rbx,jruby
Something went wrong with that request. Please try again.