http://stackoverflow.com/questions/1381725/how-to-make-no-ri-no-rdoc-default-for-gem-install
First result on Google shows:
# /home/{user}/.gemrc
---
:update_sources: true
:sources:
- http://gems.rubyforge.org/
- http://gems.github.com
:benchmark: false
:bulk_threshold: 1000
:backtrace: false
:verbose: true
gem: --no-ri --no-rdoc
Under Windows XP the path to gemrc file is "c:\Documents and Settings\All Users\Application Data\gemrc". And this file is not created by default, you should create it yourself.
在win7里 C:\Users\{user} 目录下有一个.gemrc文件,编辑它,增加下面这句就ok啦。
gem: --no-ri --no-rdoc
you just add following line to your ~/.gemrc file (It is in your home folder)
gem: --no-ri --no-rdoc
本文介绍如何通过修改gemrc文件来禁用Ruby Gem安装过程中的RI和RDOC文档生成,以此来加速Gem的安装过程。
1603

被折叠的 条评论
为什么被折叠?



