简体   繁体   English

当我告诉我不这样做时,为什么Rubygems仍在安装文档?

[英]Why is Rubygems still installing docs when I told it not to?

I have this in my ~/.gemrc file: 我的~/.gemrc文件中有这个:

---
:backtrace: false
:benchmark: false
:bulk_threshold: 1000
:sources:
- http://gems.github.com
- https://rubygems.org
- https://rails-assets.org
:update_sources: true
:verbose: true
:gem: --no-document

It took literally about 8 minutes to install sinatra, because of the ri documentation. 由于ri文档,安装sinatra 大约了8分钟 (I have the clock time in my prompt, so I'm not just taking a wild guess.) How can I fix this so that it actually obeys my ~/.gemrc file? (我的提示中有时钟时间,因此我不只是在疯狂地猜测。)如何解决这个问题,使它实际上服从我的~/.gemrc文件?

删除开头的::gem:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM