[英]Suppressing the ri and rdoc
I want to suppress the downloading of ri and rdoc while i install new gems on my windows machine. 我想在Windows计算机上安装新的gem时禁止下载ri和rdoc。 On linux we can edit .gemrc file.
在Linux上,我们可以编辑.gemrc文件。 What is a way to do it in Windows?
在Windows中有什么方法?
For window user you can use. 对于窗口用户,您可以使用。
(echo install: --no-document && echo update: --no-document) >> c:\ProgramData\gemrc
or 要么
c:\Documents and Settings\All Users\Application Data\gemrc
also you can check below link 你也可以检查下面的链接
How to make --no-ri --no-rdoc the default for gem install? 如何将--no-ri --no-rdoc设置为gem install的默认设置?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.