<?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>greenideas &#187; tutorials</title>
	<atom:link href="http://mwhenry.com/blog/tag/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://mwhenry.com/blog</link>
	<description>A blog by Matt Henry</description>
	<lastBuildDate>Fri, 02 Jul 2010 23:26:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Install Mongrel &amp; Hpricot Under Ubuntu</title>
		<link>http://mwhenry.com/blog/2008/03/install-mongrel-hpricot-under-ubuntu/</link>
		<comments>http://mwhenry.com/blog/2008/03/install-mongrel-hpricot-under-ubuntu/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 12:09:23 +0000</pubDate>
		<dc:creator>Matt Henry</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://mwhenry.com/?p=11</guid>
		<description><![CDATA[Whenever I do a fresh install of Ubuntu, and I’m setting up Ruby, Rails, I always run into the same problem with a handful of gems (such as Mongrel &#38; Hpricot). This is how things usually go down: matt@thinkpad:~$ sudo gem install hpricot Building native extensions.  This could take a while... ERROR:  Error installing hpricot: [...]]]></description>
			<content:encoded><![CDATA[<p>Whenever I do a fresh install of Ubuntu, and I’m setting up Ruby, Rails, I always run into the same problem with a handful of gems (such as Mongrel &amp; Hpricot). This is how things usually go down:</p>
<pre class="code">
matt@thinkpad:~$ sudo gem install hpricot
Building native extensions.  This could take a while...
ERROR:  Error installing hpricot:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb install hpricot
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:1
Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/hpricot-0.6 for inspection.
Results logged to
/usr/lib/ruby/gems/1.8/gems/hpricot-0.6/ext/hpricot_scan/gem_make.out</pre>
<p>Now what? The main problem here is that Hpricot and Mongrel both contain some C code that needs to be compiled. In order to fix this, you’ll need to install the Ruby &amp; C development libraries for Ubuntu. To do that, just fire up Terminal and enter:</p>
<pre class="code">sudo apt-get install ruby1.8-dev linux-libc-dev libc6-dev</pre>
<p>You should now be able to install Hpricot, Mongrel, or any other gem that requires you to build some C. It’s that easy!</p>
]]></content:encoded>
			<wfw:commentRss>http://mwhenry.com/blog/2008/03/install-mongrel-hpricot-under-ubuntu/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>What I’m Reading: 3/19</title>
		<link>http://mwhenry.com/blog/2008/03/what-im-reading-319/</link>
		<comments>http://mwhenry.com/blog/2008/03/what-im-reading-319/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 14:49:33 +0000</pubDate>
		<dc:creator>Matt Henry</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://mwhenry.com/?p=9</guid>
		<description><![CDATA[Martian Headsets: Spolsky’s take on IE8 &#38; web standards. Translation From MS-Speak to English of Selected Portions of Joel Spolsky’s “Martian Headsets”: Mark Pilgrim’s take on the above. SitePoint Guru Lists: SitePoint’s authors have listed the best articles on the SitePoint, er, site, for getting started in various areas of web design &#38; development.]]></description>
			<content:encoded><![CDATA[<ol>
<li><a href="http://www.joelonsoftware.com/items/2008/03/17.html">Martian Headsets</a>: Spolsky’s take on IE8 &amp; web standards.</li>
<li><a href="http://diveintomark.org/archives/2008/03/18/translation-from-ms-speak-to-english-of-selected-portions-of-joel-spolskys-martin-headsets">Translation From MS-Speak to English of Selected Portions of Joel Spolsky’s “Martian Headsets”</a>: Mark Pilgrim’s take on the above.</li>
<li><a href="http://www.sitepoint.com/gurulists/">SitePoint Guru Lists</a>: SitePoint’s authors have listed the best articles on the SitePoint, er, site, for getting started in various areas of web design &amp; development.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://mwhenry.com/blog/2008/03/what-im-reading-319/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

