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

On Wed, Jan 19, 2011 at 9:36 AM, CraftyTech [email protected] 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

:slight_smile:

Ben

Ahhh, I see… Thanks…

On Jan 19, 2011, at 10:27, Ben B. wrote:

On Wed, Jan 19, 2011 at 9:36 AM, CraftyTech [email protected] 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

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.