From 3985ec003d1e6ed5299427f097a7930dd231366a Mon Sep 17 00:00:00 2001 From: David Padilla Date: Thu, 16 Sep 2010 22:28:48 -0700 Subject: [PATCH] David's post about gem settings --- ...talling-gems-skipping-rdoc-and-ri.markdown | 29 ++++ .../INCOMPLETE-a-helpful-gem-setting.markdown | 9 - .../2010/07/11/git-initial-configuration.html | 10 +- .../instant-blog-using-jekyll-and-heroku.html | 6 +- _site/2010/08/06/our-git-workflow.html | 8 +- ...ay-to-setup-a-class-for-global-values.html | 6 +- .../customize-your-generators-workflow.html | 2 + .../installing-gems-skipping-rdoc-and-ri.html | 163 ++++++++++++++++++ _site/archive.html | 2 + _site/atom.xml | 58 +++++-- _site/index.html | 101 +++++------ 11 files changed, 299 insertions(+), 95 deletions(-) create mode 100644 _posts/2010-09-17-installing-gems-skipping-rdoc-and-ri.markdown delete mode 100644 _posts/INCOMPLETE-a-helpful-gem-setting.markdown create mode 100644 _site/2010/09/17/installing-gems-skipping-rdoc-and-ri.html diff --git a/_posts/2010-09-17-installing-gems-skipping-rdoc-and-ri.markdown b/_posts/2010-09-17-installing-gems-skipping-rdoc-and-ri.markdown new file mode 100644 index 0000000..aae063d --- /dev/null +++ b/_posts/2010-09-17-installing-gems-skipping-rdoc-and-ri.markdown @@ -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! + diff --git a/_posts/INCOMPLETE-a-helpful-gem-setting.markdown b/_posts/INCOMPLETE-a-helpful-gem-setting.markdown deleted file mode 100644 index a057a91..0000000 --- a/_posts/INCOMPLETE-a-helpful-gem-setting.markdown +++ /dev/null @@ -1,9 +0,0 @@ ---- -layout: post -title: A Helpful gem setting -author: David Padilla -email: david@crowdint.com -avatar: d32b52ec6403614b1adf3e648cbbe584 -published: false ---- - diff --git a/_site/2010/07/11/git-initial-configuration.html b/_site/2010/07/11/git-initial-configuration.html index 68cc674..21e3664 100644 --- a/_site/2010/07/11/git-initial-configuration.html +++ b/_site/2010/07/11/git-initial-configuration.html @@ -136,16 +136,16 @@

Add color to your life

Related Posts

diff --git a/_site/2010/08/02/instant-blog-using-jekyll-and-heroku.html b/_site/2010/08/02/instant-blog-using-jekyll-and-heroku.html index d642a68..1140aa7 100644 --- a/_site/2010/08/02/instant-blog-using-jekyll-and-heroku.html +++ b/_site/2010/08/02/instant-blog-using-jekyll-and-heroku.html @@ -222,15 +222,15 @@

Deploying to Heroku

Related Posts

diff --git a/_site/2010/08/06/our-git-workflow.html b/_site/2010/08/06/our-git-workflow.html index cad8e82..d75c618 100644 --- a/_site/2010/08/06/our-git-workflow.html +++ b/_site/2010/08/06/our-git-workflow.html @@ -164,16 +164,16 @@

Our git workflow

Related Posts

diff --git a/_site/2010/09/06/a-simple-way-to-setup-a-class-for-global-values.html b/_site/2010/09/06/a-simple-way-to-setup-a-class-for-global-values.html index b163ae6..486c970 100644 --- a/_site/2010/09/06/a-simple-way-to-setup-a-class-for-global-values.html +++ b/_site/2010/09/06/a-simple-way-to-setup-a-class-for-global-values.html @@ -142,16 +142,16 @@

Enjoy!

Related Posts

diff --git a/_site/2010/09/10/customize-your-generators-workflow.html b/_site/2010/09/10/customize-your-generators-workflow.html index 7b83081..2cff5a5 100644 --- a/_site/2010/09/10/customize-your-generators-workflow.html +++ b/_site/2010/09/10/customize-your-generators-workflow.html @@ -225,6 +225,8 @@

Generators

+ +
diff --git a/_site/2010/09/17/installing-gems-skipping-rdoc-and-ri.html b/_site/2010/09/17/installing-gems-skipping-rdoc-and-ri.html new file mode 100644 index 0000000..048bb4a --- /dev/null +++ b/_site/2010/09/17/installing-gems-skipping-rdoc-and-ri.html @@ -0,0 +1,163 @@ + + + + + Crowd Interactive Tech Blog :: Installing gems skipping RDoc and RI + + + + + + + + + + + +
+
+ LogoHead +
+
+
+   +
+
+
+
+

Installing gems skipping RDoc and RI

+

+ Sep 17
2010
+

+
+
Avatar
+

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:

+ +
gem: --no-rdoc --no-ri
+
+
+ + +

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!

+ +
+

Author: David Padilla | david@crowdint.com

+
+
+ + +
+
+ + + blog comments powered by Disqus +
+ +
+
+

Related Posts

+ +
+
+
+

Blog Home

+

About Crowd Interactive

+

Crowd Interactive is an American web design and development company that happens to work in Colima, Mexico... Read More...

+

Our Favorite Sites

+ +

Stuff we've built

+ +

Older Posts

+ + +Site Powered by Jekyll + +
+
+
+   +
+
+ +
+ + + + diff --git a/_site/archive.html b/_site/archive.html index 99cd249..7c6a114 100644 --- a/_site/archive.html +++ b/_site/archive.html @@ -41,6 +41,8 @@

Archives