Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A complete reimplementation of the gem server command as a Sinatra application

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib proper content type, and only show gems with rdoc installed February 22, 2009
Octocat-spinner-32 public
Octocat-spinner-32 spec
Octocat-spinner-32 tmp
Octocat-spinner-32 views
Octocat-spinner-32 Rakefile
Octocat-spinner-32 Readme.textile
Octocat-spinner-32 config.ru
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

  1. git clone git://github.com/jnewland/sinatra-rubygems.git
  2. open .
  3. Drag the sinatra-rubygems folder 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

Distributed under the same terms as Ruby.

Something went wrong with that request. Please try again.