<?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>Anlek Consulting &#187; Windows</title>
	<atom:link href="http://anlek.com/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://anlek.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Mon, 27 Feb 2012 22:49:12 +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>ERROR:  While executing gem &#8230; (Zlib::BufError) in windows</title>
		<link>http://anlek.com/2009/05/error-while-executing-gem-zlibbuferror-in-windows/</link>
		<comments>http://anlek.com/2009/05/error-while-executing-gem-zlibbuferror-in-windows/#comments</comments>
		<pubDate>Thu, 21 May 2009 19:16:05 +0000</pubDate>
		<dc:creator>Andrew Kalek</dc:creator>
				<category><![CDATA[gem]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.anlek.com/?p=102</guid>
		<description><![CDATA[So today I&#8217;m trying to update my gems and I get this error on random gems like rspec-rails but rspec updated fine. I googled the issue and found great articles on the error, unfortunately none of them really worked. This brought me to posting what I did to fix it the error. First, based on [...]]]></description>
			<content:encoded><![CDATA[<p>So today I&#8217;m trying to update my gems and I get this error on random gems like rspec-rails but rspec updated fine. </p>
<p>I googled the issue and found great articles on the error, unfortunately none of them really worked. This brought me to posting what I did to fix it the error.</p>
<p>First, based on <a href="http://dontrepeatyourself.wordpress.com/2007/05/14/zlibbuferror/">dontrepeatyourself</a>, I updated to the latested gem system (version 1.3.3).<br />
<code>gem update --system</code><br />
Based on what I&#8217;ve read on the site, it fixed the issue for a lot of people (keep in mind this is an article from 2007) but it didn&#8217;t fix my issue. I continued looking for another solution, and I found a bunch of Window&#8217;s specific fixes that involved altering ruby code which I wasn&#8217;t going to attempt. Some article comments said to re-install ruby but who has time for that? <a href="http://www.misuse.org/science/2007/09/07/ruby-zlib-buffer-error-on-windows/">Other posts (in the comments)</a> said to download windows specific <a href="http://gnuwin32.sourceforge.net/packages/gzip.htm">GZip ports</a> but that also had no effect. I even installed a <a href="http://www.rubyforge.org/projects/zliby">zliby gem</a> hoping it would replace the Zlib but that still didn&#8217;t work. So I did what every windows user should do when the problem isn&#8217;t getting fixed, <strong>REBOOT!</strong>. After the reboot, gems updated without a problem (well except of the usual <a href="http://blog.anlek.com/2008/09/installing-updating-sqlite3-on-windows/">SQLite3 update error on windows</a></p>
<h3>Long story short</h3>
<p>try calling<br />
<code>gem update --system</code><br />
And then <strong>Reboot</strong> your system and see if that fixes it</p>
<p>Please leave me a comment to let me know if this helped you</p>
]]></content:encoded>
			<wfw:commentRss>http://anlek.com/2009/05/error-while-executing-gem-zlibbuferror-in-windows/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

