<?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>Railstic &#187; gem</title>
	<atom:link href="http://railstic.com/tag/gem/feed/" rel="self" type="application/rss+xml" />
	<link>http://railstic.com</link>
	<description>sharing experiences</description>
	<lastBuildDate>Mon, 15 Jun 2009 15:40:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Updating RubyGems to 1.2 (Manually)</title>
		<link>http://railstic.com/2008/08/updating-rubygems-to-12-manually/</link>
		<comments>http://railstic.com/2008/08/updating-rubygems-to-12-manually/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 12:34:50 +0000</pubDate>
		<dc:creator>İ. Emre Kutlu</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://izzetemrekutlu.com/blog/?p=45</guid>
		<description><![CDATA[This is what happened when I want to install rmagick gem. username@username-desktop:~$ sudo gem install rmagick Bulk updating Gem source index for: http://gems.rubyforge.org/ ERROR: could not find rmagick locally or in a repository What the hell&#8230; After some googling I found that RubGems 1.1.x is buggy and and update to RubyGems 1.2 is necessary. To [...]]]></description>
			<content:encoded><![CDATA[<p>
This is what happened when I want to install rmagick gem.<br />
</p>

<div class="wp_codebox"><table><tr id="p457"><td class="code" id="p45code7"><pre class="bash" style="font-family:monospace;">username<span style="color: #000000; font-weight: bold;">@</span>username-desktop:~$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> rmagick
Bulk updating Gem <span style="color: #7a0874; font-weight: bold;">source</span> index <span style="color: #000000; font-weight: bold;">for</span>: http:<span style="color: #000000; font-weight: bold;">//</span>gems.rubyforge.org<span style="color: #000000; font-weight: bold;">/</span>
ERROR:  could not <span style="color: #c20cb9; font-weight: bold;">find</span> rmagick locally or <span style="color: #000000; font-weight: bold;">in</span> a repository</pre></td></tr></table></div>

<p>
What the hell&#8230;<br />
After some googling I found that RubGems 1.1.x is buggy and and update to RubyGems 1.2 is necessary.<br />
To learn your RubyGems version:<br />
</p>

<div class="wp_codebox"><table><tr id="p458"><td class="code" id="p45code8"><pre class="bash" style="font-family:monospace;">username<span style="color: #000000; font-weight: bold;">@</span>username-desktop:~$ gem <span style="color: #660033;">-v</span>
1.1.0</pre></td></tr></table></div>

<p><span id="more-45"></span><br />
 I try to update RubyGems :<br />
</p>

<div class="wp_codebox"><table><tr id="p459"><td class="code" id="p45code9"><pre class="bash" style="font-family:monospace;">username<span style="color: #000000; font-weight: bold;">@</span>username-desktop:~$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> gem update <span style="color: #660033;">--system</span>
Updating RubyGems
Bulk updating Gem <span style="color: #7a0874; font-weight: bold;">source</span> index <span style="color: #000000; font-weight: bold;">for</span>: http:<span style="color: #000000; font-weight: bold;">//</span>gems.rubyforge.org<span style="color: #000000; font-weight: bold;">/</span>
Nothing to update</pre></td></tr></table></div>

<p>
After this failed attempt, I realized that RubyGems 1.1.x is really buggy. So I must go on manually to update RubyGems.<br />
<br />
<strong>Now the solution:</strong><br />
</p>
<ol>
<li>
Download <a href="http://rubyforge.org/frs/download.php/38844/rubygems-update-1.2.0.gem">rubygems-update-1.2.0.gem</a>
</li>
<li>
Change your directory where your downloaded gem is. In these example my gem is at Desktop.<br />
Now you must install <em>rubygems-update-1.2.0.gem</em>.</p>

<div class="wp_codebox"><table><tr id="p4510"><td class="code" id="p45code10"><pre class="bash" style="font-family:monospace;">username<span style="color: #000000; font-weight: bold;">@</span>username-desktop:~$ <span style="color: #7a0874; font-weight: bold;">cd</span> Desktop<span style="color: #000000; font-weight: bold;">/</span>
username<span style="color: #000000; font-weight: bold;">@</span>username-desktop:~<span style="color: #000000; font-weight: bold;">/</span>Desktop$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> rubygems-update-1.2.0.gem</pre></td></tr></table></div>

</li>
<li>

<div class="wp_codebox"><table><tr id="p4511"><td class="code" id="p45code11"><pre class="bash" style="font-family:monospace;">username<span style="color: #000000; font-weight: bold;">@</span>username-desktop:~<span style="color: #007800;">$sudo</span> update_rubygems</pre></td></tr></table></div>

</li>
</ol>
<p>
To check if our process is successful :<br />
</p>

<div class="wp_codebox"><table><tr id="p4512"><td class="code" id="p45code12"><pre class="bash" style="font-family:monospace;">username<span style="color: #000000; font-weight: bold;">@</span>username-desktop:~<span style="color: #007800;">$gem</span> <span style="color: #660033;">-v</span>
1.2.0</pre></td></tr></table></div>

<p>
If you see <em>1.2.0</em>, you did it.</p>
]]></content:encoded>
			<wfw:commentRss>http://railstic.com/2008/08/updating-rubygems-to-12-manually/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
