Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jnewland/sinatra-rubygems
A complete reimplementation of the gem server command as a Sinatra application
https://github.com/jnewland/sinatra-rubygems
Last synced: about 1 month ago
JSON representation
A complete reimplementation of the gem server command as a Sinatra application
- Host: GitHub
- URL: https://github.com/jnewland/sinatra-rubygems
- Owner: jnewland
- Created: 2009-02-18T16:17:19.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2009-02-26T19:54:48.000Z (almost 16 years ago)
- Last Synced: 2023-04-10T15:07:10.567Z (over 1 year ago)
- Language: Ruby
- Homepage: http://gems.local/
- Size: 145 KB
- Stars: 81
- Watchers: 4
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: Readme.textile
Awesome Lists containing this project
README
h1. sinatra-rubygems
An complete reimplementation of the @gem server@ command as a "Sinatra":http://sinatra.github.com/ application.
h3. Uh, Why?
* Host your own gem server using Apache + Passenger, not Webrick
* Drop this project into "PassengerPane":http://github.com/alloy/passengerpane for instant offline access to RDoc Documentation for all installed Rubygems.h2. Setup
# @git clone git://github.com/jnewland/sinatra-rubygems.git@
# @open .@
# Drag the @sinatra-rubygems@ folder into "PassengerPane":http://github.com/alloy/passengerpane. Setup a "gems.local":http://gems.local/ alias for maximum convenience.If you're not using PassengerPane, use the following vhost config:
ServerName gems.local
#ServerAlias custom.gem.server.fqdn
DocumentRoot "/path/to/sinatra-rubygems/public"
RackEnv production
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":http://localhost:9292.
h2. License
Distributed under the same terms as Ruby.