Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (14 sloc) 0.688 kB
#-*- vim: set ft=ruby: -*-
# Example repository for serving up a Mirror repository. This repo
# will respond to mirroring requests and mirror gems from a remote
# repository locally.
$:.unshift File.expand_path( File.join( File.dirname(__FILE__), "..", "lib" ) )
require 'stickler/middleware/compression'
require 'stickler/middleware/mirror'
gem_dir = File.join( File.expand_path( File.dirname( __FILE__ ) ), "tmp" )
use ::Stickler::Middleware::Compression
use ::Stickler::Middleware::Mirror, :repo_root => gem_dir
run ::Sinatra::Base
Jump to Line
Something went wrong with that request. Please try again.