-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
David Padilla
committed
Sep 17, 2010
1 parent
74bcb4e
commit 3985ec0
Showing
11 changed files
with
299 additions
and
95 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
_posts/2010-09-17-installing-gems-skipping-rdoc-and-ri.markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
layout: post | ||
title: Installing gems skipping RDoc and RI | ||
author: David Padilla | ||
email: david@crowdint.com | ||
avatar: d32b52ec6403614b1adf3e648cbbe584 | ||
published: true | ||
--- | ||
|
||
Because, let's be honest, these days, we're always connected to the internet. | ||
|
||
Personally, I've never used the RDoc included on gem installations. | ||
|
||
If I need info about a class, method, module, I ask uncle *Google*. | ||
|
||
Besides, it gets kind of annoying, specially when there's gems that take longer to generate the RDoc, than it takes for the actual gem to install. | ||
|
||
So, here's a tip for those who don't want to wait for gem to install RDoc you'll never use. | ||
|
||
It is as simple as, opening or creating a *.gemrc* file in your home directory, and adding the following line: | ||
|
||
{% highlight bash %} | ||
gem: --no-rdoc --no-ri | ||
{% endhighlight %} | ||
|
||
And that's it. You're setting those options as default when using the gem command. So, the next time you install a gem, it will skip the part where it compiles the gem's documentation. | ||
|
||
There you go, enjoy! | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
163 changes: 163 additions & 0 deletions
163
_site/2010/09/17/installing-gems-skipping-rdoc-and-ri.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,163 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | ||
<title>Crowd Interactive Tech Blog :: Installing gems skipping RDoc and RI</title> | ||
<link rel="stylesheet" href="/stylesheets/screen.css" type="text/css" media="screen, projection" /> | ||
<link rel="stylesheet" href="/stylesheets/print.css" type="text/css" media="print" /> | ||
<link rel="stylesheet" href="/stylesheets/styles.css" type="text/css" media="screen" /> | ||
<link rel="stylesheet" href="/stylesheets/syntax.css" type="text/css" media="screen" /> | ||
<link rel="alternate" type="application/rss+xml" title="RSS Feed for blog.crowdint.com" href="http://feeds.feedburner.com/CrowdInteractiveTechBlog" /> | ||
<!--[if lt IE 8]><link rel="stylesheet" href="css/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]--> | ||
|
||
<script type="text/javascript"> | ||
|
||
var _gaq = _gaq || []; | ||
_gaq.push(['_setAccount', 'UA-17527068-1']); | ||
_gaq.push(['_trackPageview']); | ||
|
||
(function() { | ||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | ||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | ||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | ||
})(); | ||
|
||
</script> | ||
|
||
</head> | ||
<body> | ||
<div class="container"> | ||
<div id="empty-header"> | ||
<a href="/"><img src="/images/logo_03.png" id="logoHead" width="227" height="74" alt="LogoHead" /></a> | ||
</div> | ||
<div class="span-24 append-bottom testGlow"> | ||
<div class="round-top span-24"> | ||
| ||
</div> | ||
<div id="white-body" class="span-24"> | ||
<div class="left-side span-17"> | ||
<div class="post prepend-1"> | ||
<h1>Installing gems skipping RDoc and RI</h1> | ||
<p class="author"> | ||
<span class="date"><b>Sep 17</b><br />2010</span> | ||
</p> | ||
<div class="body prepend-1 append-1"> | ||
<div class="gravatar span-3"><img src="http://www.gravatar.com/avatar/d32b52ec6403614b1adf3e648cbbe584" class="avatar" alt="Avatar" /></div> | ||
<p>Because, let's be honest, these days, we're always connected to the internet.</p> | ||
|
||
<p>Personally, I've never used the RDoc included on gem installations.</p> | ||
|
||
<p>If I need info about a class, method, module, I ask uncle <em>Google</em>.</p> | ||
|
||
<p>Besides, it gets kind of annoying, specially when there's gems that take longer to generate the RDoc, than it takes for the actual gem to install.</p> | ||
|
||
<p>So, here's a tip for those who don't want to wait for gem to install RDoc you'll never use.</p> | ||
|
||
<p>It is as simple as, opening or creating a <em>.gemrc</em> file in your home directory, and adding the following line:</p> | ||
|
||
<div class="highlight"><pre><code class="bash">gem: --no-rdoc --no-ri | ||
</code></pre> | ||
</div> | ||
|
||
|
||
<p>And that's it. You're setting those options as default when using the gem command. So, the next time you install a gem, it will skip the part where it compiles the gem's documentation.</p> | ||
|
||
<p>There you go, enjoy!</p> | ||
|
||
<div class="author_box"> | ||
<p><b>Author:</b> David Padilla | david@crowdint.com</p> | ||
</div> | ||
<div class="tweet"> | ||
<a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a> | ||
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> | ||
</div> | ||
<div id="disqus_thread"></div> | ||
<script type="text/javascript"> | ||
/** | ||
* var disqus_identifier; [Optional but recommended: Define a unique identifier (e.g. post id or slug) for this thread] | ||
*/ | ||
// var disqus_developer = 1; | ||
(function() { | ||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; | ||
dsq.src = 'http://crowdinttech.disqus.com/embed.js'; | ||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); | ||
})(); | ||
</script> | ||
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript=crowdinttech">comments powered by Disqus.</a></noscript> | ||
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a> | ||
</div> | ||
<div class="nav_links span-16"> | ||
|
||
<div class="previous span-8"><a href="/2010/09/10/customize-your-generators-workflow.html"><< Customize your Generators Workflow in Rails 3.0.0</a></div> | ||
|
||
|
||
</div> | ||
</div> | ||
<div class="post prepend-1"> | ||
<h1>Related Posts</h1> | ||
<ul class="archives"> | ||
|
||
<li><span><b>18 Jul 2010</b></span> » <a href="/2010/07/18/setting-up-automation-with-cucumber-rspec-autotest.html">Setting up Automation with Cucumber, RSpec, Autotest in RoR 2.3.8</a></li> | ||
|
||
<li><span><b>10 Sep 2010</b></span> » <a href="/2010/09/10/customize-your-generators-workflow.html">Customize your Generators Workflow in Rails 3.0.0</a></li> | ||
|
||
<li><span><b>26 Aug 2010</b></span> » <a href="/2010/08/26/thin-vs-unicorn.html">Benchmarking thin vs unicorn</a></li> | ||
|
||
<li><span><b>28 Jul 2010</b></span> » <a href="/2010/07/28/getting-started-with-rvm.html">Getting started with Ruby Version Manager (RVM)</a></li> | ||
|
||
<li><span><b>02 Aug 2010</b></span> » <a href="/2010/08/02/instant-blog-using-jekyll-and-heroku.html">Instant blog using Jekyll and Heroku</a></li> | ||
|
||
</ul> | ||
</div> | ||
</div> | ||
<div class="right-side span-5 last prepend-1"> | ||
<h1><a href="/">Blog Home</a></h1> | ||
<h1>About Crowd Interactive</h1> | ||
<p class="append-1 about">Crowd Interactive is an American web design and development company that happens to work in Colima, Mexico... <a href="/about.html">Read More...</a></p> | ||
<h1>Our Favorite Sites</h1> | ||
<ul> | ||
<li><a href="http://www.crowdint.com">Crowd Interactive</a></li> | ||
<li><a href="http://rubyonrails.org">Ruby on Rails</a></li> | ||
<li><a href="http://ruby-lang.org">Ruby-Lang</a></li> | ||
<li><a href="http://github.com/crowdint">Github</a></li> | ||
</ul> | ||
<h1>Stuff we've built</h1> | ||
<ul> | ||
<li><a href="http://www.modcloth.com">ModCloth</a></li> | ||
<li><a href="http://www.creativeallies.com">Creative Allies</a></li> | ||
<li><a href="http://www.nameframe.com">Nameframe</a></li> | ||
<li><a href="http://github.com/crowdint/rails3-jquery-autocomplete">Rails3-jQuery-Autocomplete</a></li> | ||
<li><a href="http://github.com/crowdint/rankstar">rankstar</a></li> | ||
<li><a href="http://github.com/crowdint/blog.crowdint.com">This site's source code</a></li> | ||
</ul> | ||
<h1>Older Posts</h1> | ||
<ul> | ||
<li><a href="/archive.html">Archive</a></li> | ||
</ul> | ||
|
||
Site Powered by <a href="http://github.com/mojombo/jekyll">Jekyll</a> | ||
|
||
</div> | ||
</div> | ||
<div class="round-bottom span-24"> | ||
| ||
</div> | ||
</div> | ||
|
||
</div> | ||
<div id="footer"> | ||
<div class="copyContent" > | ||
<p class="copy">Copyright © 2010, Crowd Interactive. All rights reserved.</p> | ||
</div> | ||
</div> | ||
<script type="text/javascript"> | ||
var disqus_shortname = 'crowdinttech'; | ||
(function () { | ||
var s = document.createElement('script'); s.async = true; | ||
s.src = 'http://disqus.com/forums/crowdinttech/count.js'; | ||
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s); | ||
}()); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.