TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Faster Ruby Gem installs

17 点作者 ssoroka大约 15 年前

4 条评论

duck大约 15 年前
<i>To turn these off, modify your ~/.gemrc file and add the line: gem: --no-rdoc --no-ri</i><p>Great tip. I sometimes remember to add these while I'm typing gem install..., but most of the time I forget, so this will help.
jackowayed大约 15 年前
I actually use my local rdoc all the time.<p>I followed this guide <a href="http://alkesh.vaghmaria.com/2009/07/offline-gem-server/" rel="nofollow">http://alkesh.vaghmaria.com/2009/07/offline-gem-server/</a> to have a local rdoc server running through passenger (so I don't have to run gem server manually).<p>This is great for working offline, and it also means that the docs are always usign sdoc, which is a great template which allows for good searching. &#62;90% of projects have crap rdoc templates.<p>I do agree that building ri is a waste of time, though.
评论 #1245479 未加载
danudey大约 15 年前
Being a sysadmin (who did a lot of gem installs on production for the devs) rather than a Ruby guy, I didn't know this was a tip. I always figured everyone wanted this stuff, and I was the odd one out. Besides, no one should be reading rdoc on the production machines anyway.
wtn大约 15 年前
I prefer mine in /etc/gemrc