gzruby rubygems

广州ruby开发者小组 - rubygems镜像

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

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.

设置 Setup your client

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

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

然后修改你的~/.gemrc,例如
And change your ~/.gemrc to something like this:

---
:sources:
- 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

目前缓存到223个gem
223 gems cached so far!

This rubygems mirror is maintained by:
+ gzruby - the Guangzhou Ruby User's Group.
+ Many thanks to the original author of rubygems_proxy, and the many contributors.
+ The full source can be found at github: gzruby rubygems_proxy.

诚意赞助 Sponsored by: Kude Labs

Fork me on GitHub