[Rubygems-developers] How to Setup Secure GemServer
luislavena at gmail.com
Sun Jul 20 10:26:35 EDT 2008
On Thu, Jul 17, 2008 at 4:41 AM, Eric Hodel <drbrain at segment7.net> wrote:
> On Jul 15, 2008, at 12:13 PM, Luis Lavena wrote:
>> On Tue, Jul 15, 2008 at 8:36 PM, Jim Freeze <rubygems at freeze.org> wrote:
>>> Does anyone have some instructions on how to setup a secure gem server.
>>> Basically, we want to be able to run our own gemserver behind https
>>> and require some type of authentication.
>>> I've never setup https, so don't know if this is trivial with gem server
>>> or not.
>> Serving Gems is just like serving stating files, regarding
>> autorization I think you need to add that to the source url:
>> gem sources --add proto://user:firstname.lastname@example.org/folder/
> I heard a rumor that URI was going to stop supporting user:pass@ in 1.9, but
> it seems to still work now.
Hmn, that will be bad, hope is jsut a rumor and nothing more.
>> (don't forget the last slash after folder).
> Fixed in 1.2 :) In 1.1 I managed to refactor the rest of the code enough to
> make this easy to fix.
Great work Eric, the news will make a better world saving keystrokes
every day! ;-)
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
More information about the Rubygems-developers