Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (14 sloc) 0.67 kB
#-----------------------------------------------------------------------
#-*- vim: set ft=ruby: -*-
#
# Example rackup file for serving up a single repository. This repository
# will respond to index and gem requests.
#-----------------------------------------------------------------------
$:.unshift File.expand_path( File.join( File.dirname(__FILE__), "..", "lib" ) )
require 'stickler/middleware/compression'
require 'stickler/middleware/local'
gem_dir = File.expand_path( File.join( File.dirname( __FILE__ ), *%w[ .. test data ]))
puts gem_dir
use ::Stickler::Middleware::Compression
use ::Stickler::Middleware::Local, :repo_root => gem_dir
run ::Sinatra::Base
Jump to Line
Something went wrong with that request. Please try again.