public
Description: A complete reimplementation of the gem server command as a Sinatra application
Homepage: http://gems.local/
Clone URL: git://github.com/jnewland/sinatra-rubygems.git
jnewland (author)
Thu Feb 26 11:54:42 -0800 2009
commit  dcfa16581050d34a8981b3df05d57a0c2ed18054
tree    4918dd884b932375b31dc612648314da7fe32ee8
parent  3a09f5713207cbc8334a805ab0386443e349c2aa
sinatra-rubygems / config.ru
100644 6 lines (6 sloc) 0.217 kb
1
2
3
4
5
6
LIB_PATH = File.expand_path(File.join(File.dirname(__FILE__), 'lib'))
$:.unshift LIB_PATH
require 'rack_rubygems'
use GemsAndRdocs, :urls => ['/cache', '/doc'], :root => Gem.dir
use Rack::Compress
run RackRubygems.new