Project

strangebox

0.0
No commit activity in last 3 years
No release in over 3 years
minimal changed version of cwninja´s GemInABox .. A sinatra based gem hosting app, with client side gem push style functionality.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

GemInABox in another dress

my Version of Gem in a Box (I just put it in another dress)

..original by: Tom Lea (cwninja) .. geminabox

Really simple rubygem hosting

Gem in a box is a simple sinatra app to allow you to host your own in-house gems.

It has no security, or authentication so you should handle this yourself.

Server Setup

gem install strangebox

Create a config.ru as follows:

require "rubygems"
require "strangebox"

Strangebox.data = "~/dev" # ... your Gem-folder

#	If you need authentication:
#	use Rack::Auth::Basic, "StrangeBox" do |username, password|
#		[username, password] == ['your_name', 'your_password']
#	end

run Strangebox

And finally, hook up the config.ru.

e.g.:  $ rackup

Client Usage

$ gem install strangebox

$ gem build secretgem.gemspec

$ gem sbox ./secretgem-0.0.1.gem

$ gem sources -a http://localhost:9292/   ... your Host

$ gem sources -a http://your_name:your_password@localhost:9292/   ... your Host with username & password

Simples!

Licence

..original by: Tom Lea (cwninja) .. geminabox

Fork it, mod it, choose it, use it, make it better. All under the do what the fuck you want to + beer/pizza public license.

.. so pizza & beer goes to cwninja