<?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>furmanek.net &#187; libxml-ruby</title>
	<atom:link href="http://www.furmanek.net/category/libxml-ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.furmanek.net</link>
	<description>Greg Furmanek's personal blog</description>
	<lastBuildDate>Fri, 16 Jul 2010 22:29:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fixing libxml-ruby 0.9.9 on Leopard OS X</title>
		<link>http://www.furmanek.net/190/fixing-libxml-ruby-099-on-leopard-os-x/</link>
		<comments>http://www.furmanek.net/190/fixing-libxml-ruby-099-on-leopard-os-x/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 22:03:35 +0000</pubDate>
		<dc:creator>Gregory Furmanek</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[libxml-ruby]]></category>
		<category><![CDATA[gem]]></category>

		<guid isPermaLink="false">http://www.furmanek.net/?p=190</guid>
		<description><![CDATA[Update: The problem has been fixed in version 1.0.0.
Recently I have tried to update my gems and I have noticed that things just stopped to a grinding halt when it got to libxml-ruby.  It appears that the 0.9.9 spectacularly barfed all over itself and it stopped other gems from being updated.  Not good! [...]]]></description>
			<content:encoded><![CDATA[<p>Update: The problem has been fixed in version 1.0.0.</p>
<p>Recently I have tried to update my gems and I have noticed that things just stopped to a grinding halt when it got to libxml-ruby.  It appears that the 0.9.9 spectacularly barfed all over itself and it stopped other gems from being updated.  Not good!  </p>
<p>I started Googling for some answers but since the release has only 2 days I guess not that many people have run into it just yet.</p>
<p>I have found a repo with a patch: </p>
<p><a href="http://github.com/tadman/libxml-ruby/tree/master">http://github.com/tadman/libxml-ruby/tree/master<br />
</a><br />
If you not paranoid you may do:</p>

<div class="wp_codebox_msgheader"><span class="right"></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p190code4'); return false;">View Code</a> SH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p1904"><td class="code" id="p190code4"><pre class="sh" style="font-family:monospace;">$ git clone git://github.com/tadman/libxml-ruby.git 
$ cd libxml-ruby
$ ruby setup.rb
$ rake gem
$ sudo gem install admin/pkg/libxml-ruby-0.9.9.gem</pre></td></tr></table></div>

<p>If you are paranoid then you would go to the install directory where the original gem broke:</p>

<div class="wp_codebox_msgheader"><span class="right"></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p190code5'); return false;">View Code</a> SH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p1905"><td class="code" id="p190code5"><pre class="sh" style="font-family:monospace;">$ cd /Library/Ruby/Gems/1.8/gems/libxml-ruby-0.9.9
$ cd ext/libxml</pre></td></tr></table></div>

<p><strong>Edit:</strong></p>
<p>ruby_xml_html_parser_context.c<br />
ruby_xml_parser_context.c<br />
by inserting &#8220;extern&#8221; before &#8220;ID IO_ATTR;&#8221; statement.</p>
<p>After these files are updated</p>

<div class="wp_codebox_msgheader"><span class="right"></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p190code6'); return false;">View Code</a> SH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p1906"><td class="code" id="p190code6"><pre class="sh" style="font-family:monospace;">$ cd ../..
$ ruby setup.rb
$ rake gem
$ sudo gem install admin/pkg/libxml-ruby-0.9.9.gem</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.furmanek.net/190/fixing-libxml-ruby-099-on-leopard-os-x/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
