From: Jim Weirich Date: 2006-04-19T09:34:22+09:00 Subject: Re: non-interactive gem install impossible? Tom Copeland wrote: >> No idea really. I also would like to know how I can clear >> out older gems from the mirrors so that people don't get 200 >> versions of mongrel to choose from. > > Hm. Right now the gem index builder uses all the gems that it can > find... perhaps it should check to see if they are set to "active" in > the RubyForge file user interface before adding them to the index? Hmmm ... I'm thinking that the gem index builder probably doesn't want to be too tied to the RubyForge structure, as it it used to build gem indexes on a number of other sites. But it would be a simple thing to copy old gems into a archive directory. Then the gem indexer won't see them and the index will not contain them. It should be "simple" (for some definition of simple) to sweep the current gems and select gems to be moved. I would suggest leaving at least 3 versions and anything in the last year in normal directory, everything else moves to the archive. If you want to have the gems in the archive available for folks that *really* want the old versions, then run the gem index builder in the archive directory as well (and the index there will be independent of the main index). If you want an archived gem, just use the --source option on the gem command to grab it from the archive. Shouldn't be too hard to setup. -- -- Jim Weirich -- Posted via http://www.ruby-forum.com/.