jseifer / sinatra-rubygems forked from jnewland/sinatra-rubygems
- Source
- Commits
- Network (4)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
8d78f15
sinatra-rubygems / Readme.textile
sinatra-rubygems
An complete reimplementation of the gem server command as a Sinatra application.
Uh, Why?
- Host your own gem server using Apache + Passenger, not Webrick
- Drop this project into PassengerPane for instant offline access to RDoc Documentation for all installed Rubygems.
Setup
git clone git://github.com/jnewland/sinatra-rubygems.gitopen .- Drag the
sinatra-rubygemsfolder into PassengerPane. Setup a gems.local alias for maximum convenience.
If you’re not using PassengerPane, use the following vhost config:
<VirtualHost *:80> ServerName gems.local #ServerAlias custom.gem.server.fqdn DocumentRoot "/path/to/sinatra-rubygems/public" RackEnv production <directory "/path/to/src/sinatra-rubygems/public"> Order allow,deny Allow from all
If you’d like to run this as a rack app, you can run rackup config.ru in the root of this project, then see the server at http://localhost:9292.
License
GPL, since RubyGems is GPL.
