<?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>dot.Using &#187; irb</title>
	<atom:link href="http://blog.kesor.net/category/irb/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kesor.net</link>
	<description>Making technology about computers, and computers about usability.</description>
	<lastBuildDate>Mon, 29 Jun 2009 22:46:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Install RubyGems from irb</title>
		<link>http://blog.kesor.net/2007/08/13/install-rubygems-from-irb/</link>
		<comments>http://blog.kesor.net/2007/08/13/install-rubygems-from-irb/#comments</comments>
		<pubDate>Mon, 13 Aug 2007 12:18:02 +0000</pubDate>
		<dc:creator>kesor</dc:creator>
				<category><![CDATA[gems]]></category>
		<category><![CDATA[irb]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.kesor.net/2007/08/13/install-rubygems-from-irb/</guid>
		<description><![CDATA[I started using NetBeans recently. And find it&#8217;s ruby support superb! (as far as an IDE can go). But there was an error installing gems with their gui manager, and I was wondering how to debug that.
A quick peek into ruby/bin/gem revealed much of what I needed to know.
Lets demonstrate :


Welcome to the JRuby IRB [...]]]></description>
			<content:encoded><![CDATA[<p>I started using NetBeans recently. And find it&#8217;s ruby support superb! (as far as an IDE can go). But there was an error installing gems with their gui manager, and I was wondering how to debug that.</p>
<p>A quick peek into ruby/bin/gem revealed much of what I needed to know.</p>
<p>Lets demonstrate :<br />
<span id="more-11"></span></p>
<pre lang="ruby">
Welcome to the JRuby IRB Console 

irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> Gem.manage_gems
=> true
irb(main):003:0> gem = Gem::GemRunner.new
=> #<Gem::GemRunner:...>
irb(main):004:0> gem.run(['help','commands'])
GEM commands are:

    build            Build a gem from a gemspec
    cert             Adjust RubyGems certificate settings
    check            Check installed gems
    ...
=> nil
irb(main):005:0>
</pre>
<p></p>
<p><b>update:</b> The bug that prevented me from installing gems, turned out to be a _gemrc file that had http_proxy configured. A proxy no longer in use, but since I didn&#8217;t use gems all that much on this workstation before &#8211; I forgot all about it.</p>

<div class="sociable">

<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.kesor.net%2F2007%2F08%2F13%2Finstall-rubygems-from-irb%2F&amp;title=Install%20RubyGems%20from%20irb&amp;bodytext=I%20started%20using%20NetBeans%20recently.%20And%20find%20it%27s%20ruby%20support%20superb%21%20%28as%20far%20as%20an%20IDE%20can%20go%29.%20But%20there%20was%20an%20error%20installing%20gems%20with%20their%20gui%20manager%2C%20and%20I%20was%20wondering%20how%20to%20debug%20that.%0D%0A%0D%0AA%20quick%20peek%20into%20ruby%2Fbin%2Fgem%20revealed%20much%20of%20" title="Digg"><img src="http://blog.kesor.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fblog.kesor.net%2F2007%2F08%2F13%2Finstall-rubygems-from-irb%2F&amp;title=Install%20RubyGems%20from%20irb&amp;notes=I%20started%20using%20NetBeans%20recently.%20And%20find%20it%27s%20ruby%20support%20superb%21%20%28as%20far%20as%20an%20IDE%20can%20go%29.%20But%20there%20was%20an%20error%20installing%20gems%20with%20their%20gui%20manager%2C%20and%20I%20was%20wondering%20how%20to%20debug%20that.%0D%0A%0D%0AA%20quick%20peek%20into%20ruby%2Fbin%2Fgem%20revealed%20much%20of%20" title="del.icio.us"><img src="http://blog.kesor.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fblog.kesor.net%2F2007%2F08%2F13%2Finstall-rubygems-from-irb%2F&amp;title=Install%20RubyGems%20from%20irb" title="Reddit"><img src="http://blog.kesor.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fblog.kesor.net%2F2007%2F08%2F13%2Finstall-rubygems-from-irb%2F" title="Technorati"><img src="http://blog.kesor.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="mailto:?subject=Install%20RubyGems%20from%20irb&amp;body=http%3A%2F%2Fblog.kesor.net%2F2007%2F08%2F13%2Finstall-rubygems-from-irb%2F" title="email"><img src="http://blog.kesor.net/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.kesor.net%2F2007%2F08%2F13%2Finstall-rubygems-from-irb%2F&amp;t=Install%20RubyGems%20from%20irb" title="Facebook"><img src="http://blog.kesor.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fblog.kesor.net%2F2007%2F08%2F13%2Finstall-rubygems-from-irb%2F&amp;title=Install%20RubyGems%20from%20irb&amp;annotation=I%20started%20using%20NetBeans%20recently.%20And%20find%20it%27s%20ruby%20support%20superb%21%20%28as%20far%20as%20an%20IDE%20can%20go%29.%20But%20there%20was%20an%20error%20installing%20gems%20with%20their%20gui%20manager%2C%20and%20I%20was%20wondering%20how%20to%20debug%20that.%0D%0A%0D%0AA%20quick%20peek%20into%20ruby%2Fbin%2Fgem%20revealed%20much%20of%20" title="Google Bookmarks"><img src="http://blog.kesor.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="" title="Pownce"><img src="http://blog.kesor.net/wp-content/plugins/sociable/images/" title="Pownce" alt="Pownce" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="" title="TwitThis"><img src="http://blog.kesor.net/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.kesor.net/2007/08/13/install-rubygems-from-irb/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.197 seconds -->
