原文:http://blog.csdn.net/pianoorrock/article/details/79150180
安装 ruby
sudo apt-get install ruby
更改 gem 源
gem sources --remove https://rubygems.org/ # 移除源
gem sources -a https://ruby.taobao.org/ # 添加源
gem sources -l # 列出源
gem sources -a https://ruby.taobao.org/ # 添加源
gem sources -l # 列出源
使用 gem 安装 githug
sudo gem install githug