Running our own gemcutter installation?

phil's Avatar

phil

21 Mar, 2010 12:08 PM

We want to use gemcutter internally to host our private gems (as gemcutter doesn't have a private facility). If managed to get the server running, but, it seems that there is no way to have gem push, etc point to our host instead of rubygems.org!

I've looked at the github wiki on running your own, but, it is very incomplete (actually, you can't even run using the instructions, no less push!).

Does anyone do this? Is there a better option?

Help appreciated!

  1. Support Staff 1 Posted by Nick Quaranto on 21 Mar, 2010 09:54 PM

    Nick Quaranto's Avatar

    You can use the RUBYGEMS_HOST env var to override where RubyGems looks for rubygems.org. So:

    RUBYGEMS_HOST=http://yourgemcutterinstall.com gem push yourgem-1.0.0.gem

    I can add this to the wiki for those who are trying to do this. If you found information that's missing please let me know or edit it :)

    I've also been recommending http://github.com/cwninja/geminabox for those who need to run a simple internal gem server but don't need all of Gemcutter's power...since Gemcutter is really meant to serve up thousands of gems and not tens :)

  2. Nick Quaranto closed this discussion on 17 Jul, 2010 08:24 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac