<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Resolved To Test &#187; Gems</title>
	<atom:link href="http://www.resolvedtotest.com/tag/gems/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.resolvedtotest.com</link>
	<description>Two testers, one blog.</description>
	<lastBuildDate>Tue, 24 May 2011 07:18:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>RubyGems: RDoc Information on Installed Gems</title>
		<link>http://www.resolvedtotest.com/2009/04/16/rubygems-rdoc-information-on-installed-gems/</link>
		<comments>http://www.resolvedtotest.com/2009/04/16/rubygems-rdoc-information-on-installed-gems/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 21:53:29 +0000</pubDate>
		<dc:creator>Maura van der Linden</dc:creator>
				<category><![CDATA[Maura]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[Gems]]></category>
		<category><![CDATA[RDoc]]></category>
		<category><![CDATA[RubyGems]]></category>

		<guid isPermaLink="false">http://www.resolvedtotest.com/?p=49</guid>
		<description><![CDATA[It can be useful to view the RDoc information for the various gems you may have installed on your local system. RubyGems provides a way to do this by starting up a local RDoc server. Local Gem Server To start the server, open a command window on the machine that has RubyGems installed and type: [...]]]></description>
			<content:encoded><![CDATA[<p>It can be useful to view the RDoc information for the various gems you may have installed on your local system. RubyGems provides a way to do this by starting up a local RDoc server.</p>
<p><strong>Local Gem Server</strong><br />
To start the server, open a command window on the machine that has RubyGems installed and type:</p>
<blockquote><p><code> gem server </code></p></blockquote>
<p>Once the you get a message that the server is starting, you can minimize this command window (don&#8217;t close it or the server will stop). </p>
<p>Using your browser of choice, navigate to http://localhost:8808.</p>
<p>When you open this page, you will see a list of all the gems you have installed on the local system and each one will have an WWW link that will open the project&#8217;s homepage as well as an RDoc link that will open the RDoc information for that particular gem. At the top of the page are three columns: Files, Classes and Methods. I tend to find Classes and Methods the most useful when trying to discover usage and syntax for a gem.</p>
<p>If you click on methods displayed in the RDocs, an small pop-up will open to show you the code relating to the method. This can be even more useful if you are trying to figure out how to use a method.</p>
<p><strong>Missing RDoc Information</strong><br />
There might be a situation where you have a gem installed that does not have RDoc information but you can force RubyGems to generate RDoc information for already installed gems. </p>
<blockquote><p><code>gem rdoc --all</code></p></blockquote>
<p>This will generate the RDoc information for all installed gems. You can also generate RDoc for select gems only by using:</p>
<blockquote><p><code>gem rdoc GEMNAME</code></p></blockquote>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.resolvedtotest.com/2009/04/16/rubygems-rdoc-information-on-installed-gems/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=RubyGems%3A+RDoc+Information+on+Installed+Gems&amp;link=http://www.resolvedtotest.com/2009/04/16/rubygems-rdoc-information-on-installed-gems/&amp;notes=It%20can%20be%20useful%20to%20view%20the%20RDoc%20information%20for%20the%20various%20gems%20you%20may%20have%20installed%20on%20your%20local%20system.%20RubyGems%20provides%20a%20way%20to%20do%20this%20by%20starting%20up%20a%20local%20RDoc%20server.%0D%0A%0D%0ALocal%20Gem%20Server%0D%0ATo%20start%20the%20server%2C%20open%20a%20command%20window%20on%20the%20machine%20that%20has%20RubyGems%20installed%20and%20type%3A%0D&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=RubyGems%3A+RDoc+Information+on+Installed+Gems&amp;link=http://www.resolvedtotest.com/2009/04/16/rubygems-rdoc-information-on-installed-gems/&amp;notes=It%20can%20be%20useful%20to%20view%20the%20RDoc%20information%20for%20the%20various%20gems%20you%20may%20have%20installed%20on%20your%20local%20system.%20RubyGems%20provides%20a%20way%20to%20do%20this%20by%20starting%20up%20a%20local%20RDoc%20server.%0D%0A%0D%0ALocal%20Gem%20Server%0D%0ATo%20start%20the%20server%2C%20open%20a%20command%20window%20on%20the%20machine%20that%20has%20RubyGems%20installed%20and%20type%3A%0D&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.shareaholic.com/api/share/?title=RubyGems%3A+RDoc+Information+on+Installed+Gems&amp;link=http://www.resolvedtotest.com/2009/04/16/rubygems-rdoc-information-on-installed-gems/&amp;notes=It%20can%20be%20useful%20to%20view%20the%20RDoc%20information%20for%20the%20various%20gems%20you%20may%20have%20installed%20on%20your%20local%20system.%20RubyGems%20provides%20a%20way%20to%20do%20this%20by%20starting%20up%20a%20local%20RDoc%20server.%0D%0A%0D%0ALocal%20Gem%20Server%0D%0ATo%20start%20the%20server%2C%20open%20a%20command%20window%20on%20the%20machine%20that%20has%20RubyGems%20installed%20and%20type%3A%0D&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=24&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=RubyGems%3A+RDoc+Information+on+Installed+Gems&amp;link=http://www.resolvedtotest.com/2009/04/16/rubygems-rdoc-information-on-installed-gems/&amp;notes=It%20can%20be%20useful%20to%20view%20the%20RDoc%20information%20for%20the%20various%20gems%20you%20may%20have%20installed%20on%20your%20local%20system.%20RubyGems%20provides%20a%20way%20to%20do%20this%20by%20starting%20up%20a%20local%20RDoc%20server.%0D%0A%0D%0ALocal%20Gem%20Server%0D%0ATo%20start%20the%20server%2C%20open%20a%20command%20window%20on%20the%20machine%20that%20has%20RubyGems%20installed%20and%20type%3A%0D&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.shareaholic.com/api/share/?title=RubyGems%3A+RDoc+Information+on+Installed+Gems&amp;link=http://www.resolvedtotest.com/2009/04/16/rubygems-rdoc-information-on-installed-gems/&amp;notes=It%20can%20be%20useful%20to%20view%20the%20RDoc%20information%20for%20the%20various%20gems%20you%20may%20have%20installed%20on%20your%20local%20system.%20RubyGems%20provides%20a%20way%20to%20do%20this%20by%20starting%20up%20a%20local%20RDoc%20server.%0D%0A%0D%0ALocal%20Gem%20Server%0D%0ATo%20start%20the%20server%2C%20open%20a%20command%20window%20on%20the%20machine%20that%20has%20RubyGems%20installed%20and%20type%3A%0D&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=6&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.shareaholic.com/api/share/?title=RubyGems%3A+RDoc+Information+on+Installed+Gems&amp;link=http://www.resolvedtotest.com/2009/04/16/rubygems-rdoc-information-on-installed-gems/&amp;notes=It%20can%20be%20useful%20to%20view%20the%20RDoc%20information%20for%20the%20various%20gems%20you%20may%20have%20installed%20on%20your%20local%20system.%20RubyGems%20provides%20a%20way%20to%20do%20this%20by%20starting%20up%20a%20local%20RDoc%20server.%0D%0A%0D%0ALocal%20Gem%20Server%0D%0ATo%20start%20the%20server%2C%20open%20a%20command%20window%20on%20the%20machine%20that%20has%20RubyGems%20installed%20and%20type%3A%0D&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=4&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=RubyGems%3A+RDoc+Information+on+Installed+Gems&amp;link=http://www.resolvedtotest.com/2009/04/16/rubygems-rdoc-information-on-installed-gems/&amp;notes=It%20can%20be%20useful%20to%20view%20the%20RDoc%20information%20for%20the%20various%20gems%20you%20may%20have%20installed%20on%20your%20local%20system.%20RubyGems%20provides%20a%20way%20to%20do%20this%20by%20starting%20up%20a%20local%20RDoc%20server.%0D%0A%0D%0ALocal%20Gem%20Server%0D%0ATo%20start%20the%20server%2C%20open%20a%20command%20window%20on%20the%20machine%20that%20has%20RubyGems%20installed%20and%20type%3A%0D&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=RubyGems%3A+RDoc+Information+on+Installed+Gems&amp;link=http://www.resolvedtotest.com/2009/04/16/rubygems-rdoc-information-on-installed-gems/&amp;notes=It%20can%20be%20useful%20to%20view%20the%20RDoc%20information%20for%20the%20various%20gems%20you%20may%20have%20installed%20on%20your%20local%20system.%20RubyGems%20provides%20a%20way%20to%20do%20this%20by%20starting%20up%20a%20local%20RDoc%20server.%0D%0A%0D%0ALocal%20Gem%20Server%0D%0ATo%20start%20the%20server%2C%20open%20a%20command%20window%20on%20the%20machine%20that%20has%20RubyGems%20installed%20and%20type%3A%0D&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://www.shareaholic.com/api/share/?title=RubyGems%3A+RDoc+Information+on+Installed+Gems&amp;link=http://www.resolvedtotest.com/2009/04/16/rubygems-rdoc-information-on-installed-gems/&amp;notes=It%20can%20be%20useful%20to%20view%20the%20RDoc%20information%20for%20the%20various%20gems%20you%20may%20have%20installed%20on%20your%20local%20system.%20RubyGems%20provides%20a%20way%20to%20do%20this%20by%20starting%20up%20a%20local%20RDoc%20server.%0D%0A%0D%0ALocal%20Gem%20Server%0D%0ATo%20start%20the%20server%2C%20open%20a%20command%20window%20on%20the%20machine%20that%20has%20RubyGems%20installed%20and%20type%3A%0D&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=10&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=RubyGems%3A+RDoc+Information+on+Installed+Gems&amp;link=http://www.resolvedtotest.com/2009/04/16/rubygems-rdoc-information-on-installed-gems/&amp;notes=It%20can%20be%20useful%20to%20view%20the%20RDoc%20information%20for%20the%20various%20gems%20you%20may%20have%20installed%20on%20your%20local%20system.%20RubyGems%20provides%20a%20way%20to%20do%20this%20by%20starting%20up%20a%20local%20RDoc%20server.%0D%0A%0D%0ALocal%20Gem%20Server%0D%0ATo%20start%20the%20server%2C%20open%20a%20command%20window%20on%20the%20machine%20that%20has%20RubyGems%20installed%20and%20type%3A%0D&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.shareaholic.com/api/share/?title=RubyGems%3A+RDoc+Information+on+Installed+Gems&amp;link=http://www.resolvedtotest.com/2009/04/16/rubygems-rdoc-information-on-installed-gems/&amp;notes=It%20can%20be%20useful%20to%20view%20the%20RDoc%20information%20for%20the%20various%20gems%20you%20may%20have%20installed%20on%20your%20local%20system.%20RubyGems%20provides%20a%20way%20to%20do%20this%20by%20starting%20up%20a%20local%20RDoc%20server.%0D%0A%0D%0ALocal%20Gem%20Server%0D%0ATo%20start%20the%20server%2C%20open%20a%20command%20window%20on%20the%20machine%20that%20has%20RubyGems%20installed%20and%20type%3A%0D&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=RubyGems%3A+RDoc+Information+on+Installed+Gems&amp;link=http://www.resolvedtotest.com/2009/04/16/rubygems-rdoc-information-on-installed-gems/&amp;notes=It%20can%20be%20useful%20to%20view%20the%20RDoc%20information%20for%20the%20various%20gems%20you%20may%20have%20installed%20on%20your%20local%20system.%20RubyGems%20provides%20a%20way%20to%20do%20this%20by%20starting%20up%20a%20local%20RDoc%20server.%0D%0A%0D%0ALocal%20Gem%20Server%0D%0ATo%20start%20the%20server%2C%20open%20a%20command%20window%20on%20the%20machine%20that%20has%20RubyGems%20installed%20and%20type%3A%0D&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.shareaholic.com/api/share/?title=RubyGems%3A+RDoc+Information+on+Installed+Gems&amp;link=http://www.resolvedtotest.com/2009/04/16/rubygems-rdoc-information-on-installed-gems/&amp;notes=It%20can%20be%20useful%20to%20view%20the%20RDoc%20information%20for%20the%20various%20gems%20you%20may%20have%20installed%20on%20your%20local%20system.%20RubyGems%20provides%20a%20way%20to%20do%20this%20by%20starting%20up%20a%20local%20RDoc%20server.%0D%0A%0D%0ALocal%20Gem%20Server%0D%0ATo%20start%20the%20server%2C%20open%20a%20command%20window%20on%20the%20machine%20that%20has%20RubyGems%20installed%20and%20type%3A%0D&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=74&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.shareaholic.com/api/share/?title=RubyGems%3A+RDoc+Information+on+Installed+Gems&amp;link=http://www.resolvedtotest.com/2009/04/16/rubygems-rdoc-information-on-installed-gems/&amp;notes=It%20can%20be%20useful%20to%20view%20the%20RDoc%20information%20for%20the%20various%20gems%20you%20may%20have%20installed%20on%20your%20local%20system.%20RubyGems%20provides%20a%20way%20to%20do%20this%20by%20starting%20up%20a%20local%20RDoc%20server.%0D%0A%0D%0ALocal%20Gem%20Server%0D%0ATo%20start%20the%20server%2C%20open%20a%20command%20window%20on%20the%20machine%20that%20has%20RubyGems%20installed%20and%20type%3A%0D&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=207&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.shareaholic.com/api/share/?title=RubyGems%3A+RDoc+Information+on+Installed+Gems&amp;link=http://www.resolvedtotest.com/2009/04/16/rubygems-rdoc-information-on-installed-gems/&amp;notes=It%20can%20be%20useful%20to%20view%20the%20RDoc%20information%20for%20the%20various%20gems%20you%20may%20have%20installed%20on%20your%20local%20system.%20RubyGems%20provides%20a%20way%20to%20do%20this%20by%20starting%20up%20a%20local%20RDoc%20server.%0D%0A%0D%0ALocal%20Gem%20Server%0D%0ATo%20start%20the%20server%2C%20open%20a%20command%20window%20on%20the%20machine%20that%20has%20RubyGems%20installed%20and%20type%3A%0D&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-myspace">
			<a href="http://www.shareaholic.com/api/share/?title=RubyGems%3A+RDoc+Information+on+Installed+Gems&amp;link=http://www.resolvedtotest.com/2009/04/16/rubygems-rdoc-information-on-installed-gems/&amp;notes=It%20can%20be%20useful%20to%20view%20the%20RDoc%20information%20for%20the%20various%20gems%20you%20may%20have%20installed%20on%20your%20local%20system.%20RubyGems%20provides%20a%20way%20to%20do%20this%20by%20starting%20up%20a%20local%20RDoc%20server.%0D%0A%0D%0ALocal%20Gem%20Server%0D%0ATo%20start%20the%20server%2C%20open%20a%20command%20window%20on%20the%20machine%20that%20has%20RubyGems%20installed%20and%20type%3A%0D&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=39&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://www.shareaholic.com/api/share/?title=RubyGems%3A+RDoc+Information+on+Installed+Gems&amp;link=http://www.resolvedtotest.com/2009/04/16/rubygems-rdoc-information-on-installed-gems/&amp;notes=It%20can%20be%20useful%20to%20view%20the%20RDoc%20information%20for%20the%20various%20gems%20you%20may%20have%20installed%20on%20your%20local%20system.%20RubyGems%20provides%20a%20way%20to%20do%20this%20by%20starting%20up%20a%20local%20RDoc%20server.%0D%0A%0D%0ALocal%20Gem%20Server%0D%0ATo%20start%20the%20server%2C%20open%20a%20command%20window%20on%20the%20machine%20that%20has%20RubyGems%20installed%20and%20type%3A%0D&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=61&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.resolvedtotest.com/2009/04/16/rubygems-rdoc-information-on-installed-gems/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

