<?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>InstaCarma Blog &#187; gems</title>
	<atom:link href="http://www.instacarma.com/blog/tag/gems/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.instacarma.com/blog</link>
	<description>Information Resource for Web Hosting Technical Support and Server Management</description>
	<lastBuildDate>Tue, 24 May 2011 10:01:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Problem with outdated RubyGems</title>
		<link>http://www.instacarma.com/blog/technical/problem-with-outdated-rubygems/</link>
		<comments>http://www.instacarma.com/blog/technical/problem-with-outdated-rubygems/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 14:30:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[gems]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=404</guid>
		<description><![CDATA[Filed under: gems, rails, ruby Error : Rails requires RubyGems &#62;= 1.3.1 (you have 1.2.0). Please `gem update –system` and try again . Fix : As it is clear from the error message, updating the RubyGems will resolve this issue. Reinstall the ruby gems using the following commands: gem install rubygems-update update_rubygems]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/gems/'>gems</a>, <a href='http://www.instacarma.com/blog/tag/rails/'>rails</a>, <a href='http://www.instacarma.com/blog/tag/ruby/'>ruby</a></p>
<p><strong>Error :</strong></p>
<p><em>Rails requires RubyGems &gt;= 1.3.1 (you have 1.2.0). Please `gem update –system` and try again .</em></p>
<p><strong>Fix :</strong></p>
<p>As it is clear from the error message, updating the RubyGems will resolve this issue.<br />
Reinstall the ruby gems using the following commands:</p>
<blockquote><p>gem install rubygems-update<br />
update_rubygems</p></blockquote>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/problem-with-outdated-rubygems/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/problem-with-outdated-rubygems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error : Gem::SourceIndex#search</title>
		<link>http://www.instacarma.com/blog/technical/error-gemsourceindexsearch/</link>
		<comments>http://www.instacarma.com/blog/technical/error-gemsourceindexsearch/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 14:26:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[gems]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=401</guid>
		<description><![CDATA[Filed under: gems, rails, ruby Error : boot.rb:20:Warning: Gem::SourceIndex#search support for String patterns is deprecated Fix : There is a call to Gem Source Index in  boot.rb: &#8216;Gem.cache.search&#8217; Just replace &#8216;search&#8217; with &#8216;find_name&#8217; . It should look something like this : rails_gem = Gem.cache.find_name(`rails&#8217;,&#8221;=#{rails_gem_version}.0&#8243;).sort_by { &#124;g&#124; g.version.version}.last]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/gems/'>gems</a>, <a href='http://www.instacarma.com/blog/tag/rails/'>rails</a>, <a href='http://www.instacarma.com/blog/tag/ruby/'>ruby</a></p>
<p><strong>Error :</strong></p>
<p><em>boot.rb:20:Warning: Gem::SourceIndex#search support for String<br />
patterns is deprecated<br />
</em><br />
<strong>Fix</strong> :</p>
<p>There is a call to <em>Gem Source Index</em> in  boot.rb:</p>
<p>&#8216;Gem.cache.search&#8217;</p>
<p>Just replace &#8216;search&#8217; with &#8216;find_name&#8217; .</p>
<p>It should look something like this :</p>
<p>rails_gem = Gem.cache.find_name(`rails&#8217;,&#8221;=#{rails_gem_version}.0&#8243;).sort_by { |g| g.version.version}.last</p>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/error-gemsourceindexsearch/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/error-gemsourceindexsearch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error while installing RubyGems</title>
		<link>http://www.instacarma.com/blog/technical/error-while-installing-rubygems/</link>
		<comments>http://www.instacarma.com/blog/technical/error-while-installing-rubygems/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 14:22:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[gems]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=398</guid>
		<description><![CDATA[Filed under: gems, ruby Error : /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require&#8217;: no such file to load &#8212; zlib (LoadError) Fix : Ruby-zlib should be built into Ruby 1.8 Build ruby-zlib manually. wget http://www.blue.sky.or.jp/atelier/ruby/ruby-zlib-0.6.0.tar.gz tar xvzf ruby-zlib-0.6.0.tar.gz cd ruby-zlib-0.6.0 ruby extconf.rb make make install Now, reinstall Ruby Gems from source.]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/gems/'>gems</a>, <a href='http://www.instacarma.com/blog/tag/ruby/'>ruby</a></p>
<p><strong>Error</strong> :<br />
<em><br />
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require&#8217;: no such file to load &#8212; zlib (LoadError)</em></p>
<p><strong>Fix</strong> :</p>
<p>Ruby-zlib should be built into Ruby 1.8<br />
Build ruby-zlib manually.</p>
<blockquote><p>wget http://www.blue.sky.or.jp/atelier/ruby/ruby-zlib-0.6.0.tar.gz<br />
tar xvzf ruby-zlib-0.6.0.tar.gz<br />
cd ruby-zlib-0.6.0<br />
ruby extconf.rb<br />
make<br />
make install</p></blockquote>
<p>Now, reinstall Ruby Gems from source.</p>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/error-while-installing-rubygems/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/error-while-installing-rubygems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

