本文是小编为大家收集整理的关于如何使 --no-ri --no-rdoc成为gem安装的默认选项?的处理/解决方法,可以参考本文帮助大家快速定位并解决问题,中文翻译不准确的可切换到English标签页查看源文。
问题描述
我从不使用RI或RDOC,它们需要太长安装.是否有一个配置文件可以让我这样做
推荐答案
只需添加
gem: --no-ri --no-rdoc
到您的〜/.gemrc文件
其他推荐答案
您正在寻找'.gemrc'config file .
其他推荐答案
您可以以
之类的gem命令别名alias geminst='gem install --no-ri --no-rdoc'
问题描述
Possible Duplicate:
How to make --no-ri --no-rdoc the default for gem install?
I never use ri nor rdoc and they take too long to install. Is there a config file somewhere that will let me do this
推荐答案
Just add
gem: --no-ri --no-rdoc
to your ~/.gemrc file
其他推荐答案
You're looking for the '.gemrc' config file.
其他推荐答案
you can alias your gem command for something like
alias geminst='gem install --no-ri --no-rdoc'
相关标签/搜索
如何 清除sql server记住的登录
springsession config配置
python爬虫结果保存为数据库
python timeit模块 timer与timeit
swift加载远程html5页面
api接口监控工具有哪些
c语言指针入参如何调用
asp.net windows文件选择窗
echart改变树状图改变x轴颜色
利用python爬虫获取全国疫情信息并连接MySQL数据库
mysql5.7中索引列的最大长度
IPv6 无状态模式eui64
ruby
rubygems
ruby-on-rails
bundler
documentation
go
build
rdoc
crystal-reports
export-to-pdf