Ruby, RubyGems Mirroring

By | January 20, 2008

_____________________________________________
with loves, with efforts, with knowledges
knowing the best for ur best
__illuminator__
http://wafa.web.id
_____________________________________________
get this from docman @ ruby forge

Internal mirrors

If you just want to get the gems and the files (say, for an internal mirror), there is an rsync endpoint which you can get to like this:

$ rsync -av rsync://rubyforge.rubyuser.de/gems/ .
receiving file list ... done
./
ActiveRecord-JDBC-0.0.1.gem
ActiveRecord-JDBC-0.2.0.gem
[ ... etc ... ]

Same sort of thing for the files:

$ rsync -av rsync://rubyforge.rubyuser.de/files/ .

rsync will download all the gems from rubyuse.de mirror, and for another time if u wan to update u can do this command

$ rsync -auv rsync://rubyforge.rubyuser.de/gems/ .

for the hosting u can use virtual host in apache2, u just to configure your server name and pointing the document root to directory u place you the gems.
_____________________________________________
with loves, with efforts, with knowledges
knowing the best for ur best
__illuminator__
http://wafa.web.id
_____________________________________________

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.