<?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; gems</title>
	<atom:link href="http://blog.kesor.net/category/gems/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kesor.net</link>
	<description>Making technology about computers, and computers about usability.</description>
	<lastBuildDate>Tue, 30 Aug 2011 00:30:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<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 [...]]]></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>
]]></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.272 seconds -->

