Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (14 sloc) 709 Bytes
#-*- vim: set ft=ruby: -*-
# Example rackup file for serving up a null repository. This really
# would never be used in the wild, but it shows the basics of what
# is required to setup a stickler webstack
$:.unshift File.expand_path( File.join( File.dirname(__FILE__), "..", "lib" ) )
require 'stickler/middleware/compression'
require 'stickler/middleware/index'
gem_dir = File.join( File.expand_path( File.dirname( __FILE__ ) ), "tmp" )
use ::Stickler::Middleware::Compression
use ::Stickler::Middleware::Index, :repo_root => gem_dir
run ::Sinatra::Base
Jump to Line
Something went wrong with that request. Please try again.