<?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>P(failure &#124; big_shot_present) = .9 &#187; XCode</title>
	<atom:link href="http://blog.e-thang.net/tag/xcode/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.e-thang.net</link>
	<description>If even 1 person reads this, I will consider that a success</description>
	<lastBuildDate>Wed, 19 Oct 2011 14:52:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Installing Ruby gems that require building native extensions on Snow Leopard</title>
		<link>http://blog.e-thang.net/2009/12/18/installing-ruby-gems-that-require-building-native-extensions-on-snow-leopard/</link>
		<comments>http://blog.e-thang.net/2009/12/18/installing-ruby-gems-that-require-building-native-extensions-on-snow-leopard/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 19:31:47 +0000</pubDate>
		<dc:creator>e-thang</dc:creator>
				<category><![CDATA[rant]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[gems]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://blog.e-thang.net/?p=60</guid>
		<description><![CDATA[I haven&#8217;t tested this on all &#8220;machines&#8221; running Snow Leopard, but on the brand new one I had to get today for work, I found that the default Ruby / Gems install doesn&#8217;t support installing gems that require building native extensions. The error message I was treated to contained the following: MacBook-Pro-de-Ethan-Garofolo:~ juanpaco$ sudo gem [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t tested this on all &#8220;machines&#8221; running Snow Leopard, but on the brand new one I had to get today for work, I found that the default Ruby / Gems install doesn&#8217;t support installing gems that require building native extensions.  The error message I was treated to contained the following:</p>
<p><code>MacBook-Pro-de-Ethan-Garofolo:~ juanpaco$ sudo gem install thin<br />
Password:<br />
Building native extensions.  This could take a while...<br />
ERROR:  Error installing thin:<br />
	ERROR: Failed to build gem native extension.<br />
<code><br />
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install thin<br />
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h</p>
<p><code><br />
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.10 for inspection.<br />
Results logged to /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.10/ext/gem_make.out</p>
<p>The solution was hyper-intuitive.  Install XCode.  Because of course that's the first thing you think of.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.e-thang.net/2009/12/18/installing-ruby-gems-that-require-building-native-extensions-on-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

