[英]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.