<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>data og sånt &#187; ruby</title>
	<atom:link href="http://espen.braekken.com/category/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://espen.braekken.com</link>
	<description>espen braekken</description>
	<lastBuildDate>Mon, 10 May 2010 11:12:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='espen.braekken.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/28ca34a479d51f300985a74bc2cdc404?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>data og sånt &#187; ruby</title>
		<link>http://espen.braekken.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://espen.braekken.com/osd.xml" title="data og sånt" />
	<atom:link rel='hub' href='http://espen.braekken.com/?pushpress=hub'/>
		<item>
		<title>Presentation from OUGN 2010 available</title>
		<link>http://espen.braekken.com/2010/04/21/presentation-from-ougn-2010-available/</link>
		<comments>http://espen.braekken.com/2010/04/21/presentation-from-ougn-2010-available/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 16:59:33 +0000</pubDate>
		<dc:creator>ebraekke</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apex]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://espen.braekken.com/?p=429</guid>
		<description><![CDATA[The presentation and the supporting report for my &#8220;Rails as a back-end processor for Apex&#8221; presentation at OUGN are now available for download.  Please let me know if you have any comments.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=espen.braekken.com&blog=4761295&post=429&subd=espenbraekken&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://espen-braekken-public.s3.amazonaws.com/apex_and_rails_pres.pdf">presentation </a>and the <a href="http://espen-braekken-public.s3.amazonaws.com/apex_and_rails_report.pdf">supporting report</a> for my &#8220;Rails as a back-end processor for Apex&#8221; presentation at OUGN are now available for download.  Please let me know if you have any comments.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/espenbraekken.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/espenbraekken.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/espenbraekken.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/espenbraekken.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/espenbraekken.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/espenbraekken.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/espenbraekken.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/espenbraekken.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/espenbraekken.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/espenbraekken.wordpress.com/429/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=espen.braekken.com&blog=4761295&post=429&subd=espenbraekken&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://espen.braekken.com/2010/04/21/presentation-from-ougn-2010-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/60ab1f8f8f88fba85a2674464cb048fe?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ebraekke</media:title>
		</media:content>
	</item>
		<item>
		<title>ruby and mysql C libraries on the Mac</title>
		<link>http://espen.braekken.com/2008/11/26/ruby-and-mysql-c-libraries-on-the-mac/</link>
		<comments>http://espen.braekken.com/2008/11/26/ruby-and-mysql-c-libraries-on-the-mac/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 10:03:45 +0000</pubDate>
		<dc:creator>ebraekke</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://espenbraekken.wordpress.com/?p=76</guid>
		<description><![CDATA[Configure ruby for mysql on the Mac I struggled with this one. First I though the problems were rooted in the MySQL version I was running (5.1.X). I realized finally that I had not provided all the configuration parameters. My original attempt: sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql The output from this command includes: Building [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=espen.braekken.com&blog=4761295&post=76&subd=espenbraekken&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>Configure ruby for mysql on the Mac</p>
<p>I struggled with this one. First I though the problems were rooted in the MySQL version I was running (5.1.X). I realized finally that I had not provided all the configuration parameters.</p>
<p>My original attempt:</p>
<pre><code>sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql
</code></pre>
<p>The output from this command includes:</p>
<pre><code>Building native extensions.  This could take a while...
ERROR:  Error installing mysql:
    ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install mysql -- --with-mysql-dir=/usr/local/mysql
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lsocket... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lnsl... no
checking for mysql_query() in -lmysqlclient... no
*** extconf.rb failed ***
...
</code></pre>
<p>I managed to make it work by changing the command line to:</p>
<pre><code>$ sudo gem install mysql -- \
--with-mysql-config=/usr/local/mysql/bin/mysql_config
Building native extensions.  This could take a while...
Successfully installed mysql-2.7
1 gem installed
</code></pre>
<p>PS: The &#8220;\&#8221; is just a line continuation marker, to make things fit in this post.</p>
<p>PS: This was after downgrading mysql to 5.0.X.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/espenbraekken.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/espenbraekken.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/espenbraekken.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/espenbraekken.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/espenbraekken.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/espenbraekken.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/espenbraekken.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/espenbraekken.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/espenbraekken.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/espenbraekken.wordpress.com/76/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=espen.braekken.com&blog=4761295&post=76&subd=espenbraekken&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://espen.braekken.com/2008/11/26/ruby-and-mysql-c-libraries-on-the-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/60ab1f8f8f88fba85a2674464cb048fe?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ebraekke</media:title>
		</media:content>
	</item>
	</channel>
</rss>