gzruby rubygems 镜像

The Guangzhou Ruby Group's Rubygems Mirror

这是一个http://rubygems.org 的镜像。在中国,如果没有VPN或者proxy的话, Ruby开发者往往很难直接连接到rubygems服务器。希望这个镜像可以为大家提供一个解决的办法。这个镜像会缓存gemspec15分钟。

This is a mirror for http://rubygems.org that should be accessible for anyone in South China. It is provided as an alternative solution for ruby developers in China who may not be able to access the rubygems servers directly without a VPN or proxy. This mirror will cache the gemspecs for 15 minutes.

设置 Setup your client

在你的gemfile 里面添加下列内容
Add the following line to your Gemfile:

source "http://gems.gzruby.org/"

And change your ~/.gemrc to something like this:

- http://gems.gzruby.org/
gem: --no-rdoc --no-ri

如果你使用Windows系统, 你会在下列文件夹发现此文件:
In windows, this file can be found here:
C:\Documents and Settings\All Users\Application Data\gemrc (Win XP)
C:\ProgramData\gemrc (Win 7)

缓存 Cached gems

7700 gems cached so far!