Local copy of rubyforge

Hello All,

     Is there a way that I can maintain a local copy of all gems, from let's say rubyforge? (or any other repo for that matter). I'd like to maintain a local repo for ruby gems in our network which doesn't permit for outside access. I figured I can have the one machine that has external access, to sync up files daily during off hours. This is kind of what I already do with Yum repos. My current gem version is 1.3.7.

     I understand that I can run my own gem server via 'gem server -d /dir', and it'll run on 8808. I'm just trying to figure out the process of syncing up a local copy of all gems.

     Any ideas?

Thanks,

Henry

gem help mirror

:slight_smile:

Ben

···

On Wed, Jan 19, 2011 at 9:36 AM, CraftyTech <hmmedina@gmail.com> wrote:

Is there a way that I can maintain a local copy of all gems, from let&#39;s say rubyforge? \(or any other repo for that matter\)\.  I&#39;d like to maintain a local repo for ruby gems in our network which doesn&#39;t permit for outside access\.  I figured I can have the one machine that has external access, to sync up files daily during off hours\.  This is kind of what I already do with Yum repos\.  My current gem version is 1\.3\.7\.

Ahhh, I see... Thanks..

The next release of rubygems will not have a built-in `gem mirror` command. Use GitHub - rubygems/rubygems-mirror: The `gem mirror` RubyGems command, creates local mirrors of all gems from a remote gem source. instead.

···

On Jan 19, 2011, at 10:27, Ben Bleything wrote:

On Wed, Jan 19, 2011 at 9:36 AM, CraftyTech <hmmedina@gmail.com> wrote:

    Is there a way that I can maintain a local copy of all gems, from let's say rubyforge? (or any other repo for that matter). I'd like to maintain a local repo for ruby gems in our network which doesn't permit for outside access. I figured I can have the one machine that has external access, to sync up files daily during off hours. This is kind of what I already do with Yum repos. My current gem version is 1.3.7.

gem help mirror