We provide weekly dumps of the RubyGems.org PostgreSQL data. This dump is sanitized, removing all user information.
The load-pg-dump script is available as an example of how to to download and load the most recent weekly dump.
We also provide weekly dumps of the historial RubyGems.org Redis data. (We do not use redis anymore but these are here for historical purposes.)