Skip to content

Instantly share code, notes, and snippets.

@ouyangzhiping
Created June 29, 2011 06:58
Show Gist options
  • Save ouyangzhiping/1053292 to your computer and use it in GitHub Desktop.
Save ouyangzhiping/1053292 to your computer and use it in GitHub Desktop.
安装gems时如何跳过ri以及RDoc的.gemrc配置示例
---
:benchmark: false
:bulk_threshold: 1000
:verbose: true
:update_sources: true
:sources:
- http://rubygems.org/
- http://gemcutter.org
:backtrace: false
#gemrc目录在: mate ~/.gemrc
#安装gem时不安装doc,参考http://2015.iteye.com/blog/760665
gem: --no-ri --no-rdoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment