<?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>I swore I wouldn&#039;t</title>
	<atom:link href="http://www.wontblog.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wontblog.com</link>
	<description>Oh no, I&#039;m blogging now?</description>
	<lastBuildDate>Wed, 23 Feb 2011 20:06:19 +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>Change is in the air</title>
		<link>http://www.wontblog.com/2011/02/23/change-is-in-the-air/</link>
		<comments>http://www.wontblog.com/2011/02/23/change-is-in-the-air/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 20:03:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wontblog.com/?p=68</guid>
		<description><![CDATA[After an invigorating year with a number of exciting and challenging projects, it is time to move on. I am taking a position with an established software provider in Vienna, VA. There are a number of very exciting projects that are on the roster, and I am eager to get started.]]></description>
			<content:encoded><![CDATA[<p>After an invigorating year with a number of exciting and challenging projects, it is time to move on.  I am taking a position with an established software provider in Vienna, VA.  There are a number of very exciting projects that are on the roster, and I am eager to get started.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.wontblog.com/2011/02/23/change-is-in-the-air/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gc_sweep unknown data type problem SOLVED!</title>
		<link>http://www.wontblog.com/2011/02/23/gc_sweep-unknown-data-type-problem-solved/</link>
		<comments>http://www.wontblog.com/2011/02/23/gc_sweep-unknown-data-type-problem-solved/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 19:58:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[gc_sweep]]></category>
		<category><![CDATA[ror]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.wontblog.com/?p=66</guid>
		<description><![CDATA[I recently encountered a cumbersome bug when trying to run a Ruby on Rails application (insoshi-based) on Ubuntu. Sporadically (but typically during events which involved attachment_fu) the server would crash and an error relating to &#8220;gc_sweep unknown data type&#8221; would show up in the log file. This did not occur in our development environments (Mac [...]]]></description>
			<content:encoded><![CDATA[<p>I recently encountered a cumbersome bug when trying to run a Ruby on Rails application (insoshi-based) on Ubuntu.  Sporadically (but typically during events which involved attachment_fu) the server would crash and an error relating to &#8220;gc_sweep unknown data type&#8221; would show up in the log file.  This did not occur in our development environments (Mac OSX) but only in UAT and prod environments (Ubuntu.)  After much searching, stumbled upon a bug report that mentioned that this was a problem with ruby 1.8.7 versions prior to patch-level 300.  Upgrading to 1.8.7p300 seems to have solved the problem.   Will post a follow up if that turns out not to be the case.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wontblog.com/2011/02/23/gc_sweep-unknown-data-type-problem-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote Disc on a MacBook Air</title>
		<link>http://www.wontblog.com/2010/09/03/65/</link>
		<comments>http://www.wontblog.com/2010/09/03/65/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 12:14:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.wontblog.com/?p=65</guid>
		<description><![CDATA[I am in the process of migrating my office to Apple products. I needed a way to install iWorks and Parallels on my boss&#8217;s shiny new MacBook Air, but the MacBook Air has no optical drive, and we have not yet ordered an external drive. My assumption was that I would need to make an [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="" src="http://img.skitch.com/20100903-ku69h23d2tq8a358qfeuksh299.jpg" title="DVD Sharing" class="aligncenter" width="471" height="223" /></p>
<p>I am in the process of migrating my office to Apple products.  I needed a way to install iWorks and Parallels on my boss&#8217;s shiny new MacBook Air, but the MacBook Air has no optical drive, and we have not yet ordered an external drive.   My assumption was that I would need to make an image and copy it over to her machine; I was wrong.  After I launched Finder on her machine, I saw &#8220;Remote Disc&#8221; as one of her drive options.  A little research revealed that I could enable &#8220;DVD or CD Sharing&#8221; from my Sharing Preferences pane.  Doing so made my drive visible from her machine, and the installation went along without a hitch. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.wontblog.com/2010/09/03/65/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code Igniter was fun, sort of</title>
		<link>http://www.wontblog.com/2010/07/16/code-igniter-was-fun-sort-of/</link>
		<comments>http://www.wontblog.com/2010/07/16/code-igniter-was-fun-sort-of/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 19:03:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Host]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://www.wontblog.com/?p=57</guid>
		<description><![CDATA[My time with CodeIgniter was fun, but it&#8217;s time to switch back to Rails. I enjoyed the ability to really get in and handle some of the code the way that I preferred, but overall I found that I missed a lot of the automagical things that happen with Rails. The biggest shortcoming for me [...]]]></description>
			<content:encoded><![CDATA[<p>My time with CodeIgniter was fun, but it&#8217;s time to switch back to Rails.  I enjoyed the ability to really get in and handle some of the code the way that I preferred, but overall I found that I missed a lot of the automagical things that happen with Rails.  The biggest shortcoming for me was the lack of a real ActiveRecord model.  I might give it a shot where it seems appropriate in the future, but for now I&#8217;m going back to Rails.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wontblog.com/2010/07/16/code-igniter-was-fun-sort-of/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The change you wanted was rejected &#8211; Rails Problem</title>
		<link>http://www.wontblog.com/2010/07/15/the-change-you-wanted-was-rejected-rails-problem/</link>
		<comments>http://www.wontblog.com/2010/07/15/the-change-you-wanted-was-rejected-rails-problem/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 15:47:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Host]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://www.wontblog.com/?p=63</guid>
		<description><![CDATA[I received the error &#8220;The change you wanted was rejected&#8221; after I moved a rails app from one host to another. Looking into the log file, the following error appears: ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken): /usr/lib/ruby/1.8/mongrel/rails.rb:76:in `process' /usr/lib/ruby/1.8/mongrel/rails.rb:74:in `synchronize' /usr/lib/ruby/1.8/mongrel/rails.rb:74:in `process' /usr/lib/ruby/1.8/mongrel.rb:159:in `process_client' /usr/lib/ruby/1.8/mongrel.rb:158:in `each' /usr/lib/ruby/1.8/mongrel.rb:158:in `process_client' /usr/lib/ruby/1.8/mongrel.rb:285:in `run' /usr/lib/ruby/1.8/mongrel.rb:285:in `initialize' /usr/lib/ruby/1.8/mongrel.rb:285:in `new' /usr/lib/ruby/1.8/mongrel.rb:285:in `run' /usr/lib/ruby/1.8/mongrel.rb:268:in `initialize' /usr/lib/ruby/1.8/mongrel.rb:268:in [...]]]></description>
			<content:encoded><![CDATA[<div class="diggbutton"><script type="text/javascript">digg_url = 'http://www.wontblog.com/2010/07/15/the-change-you-wanted-was-rejected-rails-problem/';digg_title = 'The change you wanted was rejected &#8211; Rails Problem';</script><script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></div>
<p><img class="alignnone" title="The change I wanted was rejected?" src="http://img.skitch.com/20100715-bk5gad84u3ts11x9b7ctdndhb6.png" alt="" width="413" height="214" /></p>
<p>I received the error &#8220;The change you wanted was rejected&#8221; after I moved a rails app from one host to another.</p>
<p>Looking into the log file, the following error appears:</p>
<p><code> </code></p>
<p><code>ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):<br />
/usr/lib/ruby/1.8/mongrel/rails.rb:76:in `process'<br />
/usr/lib/ruby/1.8/mongrel/rails.rb:74:in `synchronize'<br />
/usr/lib/ruby/1.8/mongrel/rails.rb:74:in `process'<br />
/usr/lib/ruby/1.8/mongrel.rb:159:in `process_client'<br />
/usr/lib/ruby/1.8/mongrel.rb:158:in `each'<br />
/usr/lib/ruby/1.8/mongrel.rb:158:in `process_client'<br />
/usr/lib/ruby/1.8/mongrel.rb:285:in `run'<br />
/usr/lib/ruby/1.8/mongrel.rb:285:in `initialize'<br />
/usr/lib/ruby/1.8/mongrel.rb:285:in `new'<br />
/usr/lib/ruby/1.8/mongrel.rb:285:in `run'<br />
/usr/lib/ruby/1.8/mongrel.rb:268:in `initialize'<br />
/usr/lib/ruby/1.8/mongrel.rb:268:in `new'<br />
/usr/lib/ruby/1.8/mongrel.rb:268:in `run'<br />
/usr/lib/ruby/1.8/mongrel/configurator.rb:282:in `run'<br />
/usr/lib/ruby/1.8/mongrel/configurator.rb:281:in `each'<br />
/usr/lib/ruby/1.8/mongrel/configurator.rb:281:in `run'<br />
/usr/lib/ruby/1.8/mongrel/command.rb:212:in `run'</p>
<p></code></p>
<p><code>Rendering /vol/sites/site/public/422.html (422 Unprocessable Entity)<br />
</code></p>
<p>Some further investigation revealed that there was an issue with how rails 2.3.8 was handling cookies.  I stumbled upon the following fix at https://rails.lighthouseapp.com/projects/8994/tickets/4690.</p>
<p>I used Ken Collins&#8217; fix of adding his mongrel.rb (<a href="http://gist.github.com/471663">http://gist.github.com/471663</a>) to config/initializers and now all is well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wontblog.com/2010/07/15/the-change-you-wanted-was-rejected-rails-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML pages returned as plaintext, who is the culprit?</title>
		<link>http://www.wontblog.com/2010/07/15/html-pages-returned-as-plaintext-who-is-the-culprit/</link>
		<comments>http://www.wontblog.com/2010/07/15/html-pages-returned-as-plaintext-who-is-the-culprit/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 14:21:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[ec2]]></category>

		<guid isPermaLink="false">http://www.wontblog.com/?p=61</guid>
		<description><![CDATA[I have been moving applications from my Rackspace host over to Amazon&#8217;s EC2 service.  Moving simple LAMP apps has been fairly cut and dry, but while moving a RoR app and accessing it through apache w/ mod_proxy, the html is delivered to the browser as plaintext.  If I access the app directly on mongrel&#8217;s port, [...]]]></description>
			<content:encoded><![CDATA[<p><!--digg--><br />
<img class="alignnone" title="HTML served as plaintext" src="http://img.skitch.com/20100715-fi6q77pca8nms2r7xdm43b9nt.png" alt="" width="398" height="323" /></p>
<p>I have been moving applications from my Rackspace host over to Amazon&#8217;s EC2 service.  Moving simple LAMP apps has been fairly cut and dry, but while moving a RoR app and accessing it through apache w/ mod_proxy, the html is delivered to the browser as plaintext.  If I access the app directly on mongrel&#8217;s port, it renders correctly.   So it appears that something with either my mod_proxy configuration, or something about how my EC2 instance is set up is causing the problem.</p>
<p><code><br />
&gt; curl -I http://linux.local:3000<br />
HTTP/1.1 200 OK<br />
Connection: close<br />
Date: Thu, 15 Jul 2010 14:27:27 GMT<br />
Content-Length: 0</p>
<p>&gt; curl -I http://linux.local<br />
HTTP/1.1 200 OK<br />
Date: Thu, 15 Jul 2010 14:27:35 GMT<br />
Via: 1.1 linux.local<br />
Content-Type: text/plain<br />
</code></p>
<p>As you can see, when accessing the page through Apache/mod_proxy, the Content-Type that is returned is explicitly set as text/plain.</p>
<p><strong>Update</strong><br />
This is a bit shoe-horned, but it works for right now.  In the apache2.conf file, I changed the DefaultType from text/plain to text/html.  The reason this solution &#8220;concerns&#8221; me is that on my other servers, (where this problem is not occurring) the DefaultType is also set to text/plain, but the html is output correctly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wontblog.com/2010/07/15/html-pages-returned-as-plaintext-who-is-the-culprit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to flush your dns cache in OS X</title>
		<link>http://www.wontblog.com/2010/07/14/how-to-flush-your-dns-cache-in-os-x/</link>
		<comments>http://www.wontblog.com/2010/07/14/how-to-flush-your-dns-cache-in-os-x/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 13:42:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.wontblog.com/?p=59</guid>
		<description><![CDATA[From time to time you may need to flush the dns cache on your mac.  I had recently moved a site from one host to another, and while the nameservers at the various levels returned the new IP address, my browser still looked to the old IP address. To resolve issues like this, (in Leopard) [...]]]></description>
			<content:encoded><![CDATA[<p><!--digg--><br />
<img class="alignnone" title="Flush that cache" src="http://img.skitch.com/20100714-bhna6m4yeyw17t4i4iiith6isd.png" alt="" width="415" height="231" /></p>
<p>From time to time you may need to flush the dns cache on your mac.  I had recently moved a site from one host to another, and while the nameservers at the various levels returned the new IP address, my browser still looked to the old IP address.</p>
<p>To resolve issues like this, (in Leopard) open a terminal and type in<br />
<code><br />
&gt; dscacheutil -flushcache<br />
</code></p>
<p>The same issue is resolved in 10.5.1 and earlier, open a terminal and type<br />
<code><br />
&gt; lookupd -flushcache<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wontblog.com/2010/07/14/how-to-flush-your-dns-cache-in-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First Impressions of Code Igniter</title>
		<link>http://www.wontblog.com/2010/06/05/first-impressions-of-code-igniter/</link>
		<comments>http://www.wontblog.com/2010/06/05/first-impressions-of-code-igniter/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 12:28:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Host]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.wontblog.com/?p=56</guid>
		<description><![CDATA[Last night I was forced to start working with CodeIgniter, a PHP web-framework, and I have to say that so far I am enjoying the experience. CodeIgniter provides a simple framework that allows you to quickly get an application up and running.  The learning curve (so far) has been very low.  I like web-frameworks for [...]]]></description>
			<content:encoded><![CDATA[<p><!--digg--><br />
<img class="alignright" title="Code Igniter" src="http://img.skitch.com/20100605-xpp9a9s6win5rjkq6dwd2g93qw.jpg" alt="Code Igniter" width="288" height="220" /> Last night I was forced to start working with <a href="http://www.codeigniter.com/" target="_BLANK">CodeIgniter</a>, a PHP web-framework, and I have to say that so far I am enjoying the experience.</p>
<p>CodeIgniter provides a simple framework that allows you to quickly get an application up and running.  The learning curve (so far) has been very low.  I like web-frameworks for projects.  I have done a number of projects in Ruby on Rails, and I have dabbled in Django.  Those have been pleasant experiences, but I prefer PHP as my preferred development language for most projects due to a number of reasons (not interested in jumping into that holy war right now.)</p>
<p>Up to this point, if I wanted to use a PHP framework, my choices were Zend and CakePHP.  Zend is a monster.  I&#8217;m sorry, I know a lot of developers swear by Zend, but I&#8217;m not one of them.  Nobody &#8220;quickly&#8221; picks up Zend.  Zend is so incredibly dense/bloated/abstracted that debugging something becomes an exercise that is more time consuming than the original problem that you were trying to solve.  CakePHP felt too much like I was pretending to be Ruby on Rails, and there were so many hoops to jump through.  And it was frequently a little &#8220;too magical.&#8221;</p>
<p>After exploring these different options, I wrote my own framework that took the parts of Ruby on Rails that I enjoyed, but kept the flexibility and familiarity of PHP.  I have been using this for over a year now and it has served me well.  I was pleased to find that the structure of CodeIgniter was <em>almost identical</em> to the structure of my own framework.  This has made it a very easy switch for me.</p>
<p><span id="more-56"></span></p>
<p>The only problem that I have run into so far was briefly not understanding how to get to a GET parameter in a fashion that didn&#8217;t make me feel dirty.</p>
<p><em>Tangent about accessing GET parameters coming&#8230;</em><br />
CodeIgniter obscures the $_GET parameters by default, you can enable them within your configuration, but I am working on one page of an existing site as a favor for a friend.  The CodeIgniter documentation suggests that you retrieve the parameters based on &#8220;segments&#8221; so if you wanted to pass in</p>
<blockquote><p>http://www.mysite.com/events.php?start=25&amp;state=VA&amp;count=50</p></blockquote>
<p>CodeIgniter suggests that you would generate the url</p>
<blockquote><p>http://www.mysite.com/events/index/25/VA/50</p></blockquote>
<p>And then retrieve your parameters based on which &#8220;segment&#8221; they were.<br />
<code><br />
segment(3) =&gt; 25 // the 'start' value<br />
segment(4) =&gt; VA // the 'state' value<br />
segment(5) =&gt; 50 // the 'count' value<br />
</code><br />
This makes me cringe for many reasons.  What if, for example, the user can click a link to change the count to 25, but it defaults to 50.  Most of the time this isn&#8217;t going to happen, so would I ALWAYS assume that I&#8217;m passing in the first segment as the start param, even when it&#8217;s typically not going to be used?</p>
<p><strong>uri_to_assoc to the rescue</strong><br />
The solution to this &#8220;issue&#8221; (it&#8217;s more of my own issue than an actual problem) was the function uri_to_assoc.<br />
Using uri_to_assoc means that I could format my urls as:</p>
<blockquote><p>http://www.mysite.com/events/index/start/25/state/VA/count/50</p></blockquote>
<p>and then in my code use:<br />
<code><br />
$params = $this-&gt;uri-&gt;uri_to_assoc(3);</code></p>
<p><code> </code></p>
<p><code>/* I now have the array $params with:<br />
* $params['state'] = 'VA'<br />
* $params['state'] = 25<br />
* $params['count'] = 50<br />
*/<br />
</code><br />
This makes me much more comfortable, as it means that it doesn&#8217;t matter where in the URI that my parameters are positioned.<br />
<em>Tangent finished</em><br />
I plan to continue using CodeIgniter for a while, to see if it&#8217;s the right fit.  I have some small projects that it would likely be quite appropriate for, and it will get me out of the business of supporting my own framework.  <img src='http://www.wontblog.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.wontblog.com/2010/06/05/first-impressions-of-code-igniter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing MySQL gem on OS X</title>
		<link>http://www.wontblog.com/2010/04/26/installing-mysql-gem-on-os-x/</link>
		<comments>http://www.wontblog.com/2010/04/26/installing-mysql-gem-on-os-x/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 15:49:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Host]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://www.wontblog.com/?p=54</guid>
		<description><![CDATA[I encountered the following error when installing the mysql gem on a shiny new Macbook Pro running OS X Leopard. Note: I have ~/.gem set as my GEM_HOME and GEM_PATH to avoid needing to sudo &#62; gem install mysql Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build [...]]]></description>
			<content:encoded><![CDATA[<p><!--digg--><br />
<img class="alignleft" title="RoR" src="http://img.skitch.com/20100426-mugukqdh7hp8fhhy6t476u3ued.png" alt="" width="173" height="178" />I encountered the following error when installing the mysql gem on a shiny new Macbook Pro running OS X Leopard.</p>
<p><em>Note: I have ~/.gem set as my GEM_HOME and GEM_PATH to avoid needing to sudo</em></p>
<p><code><br />
&gt;  gem install mysql<br />
Building native extensions.  This could take a while...<br />
ERROR:  Error installing mysql:<br />
ERROR: Failed to build gem native extension.</code></p>
<p><code>/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb<br />
checking for mysql_query() in -lmysqlclient... no<br />
checking for main() in -lm... yes<br />
checking for mysql_query() in -lmysqlclient... no<br />
checking for main() in -lz... yes<br />
checking for mysql_query() in -lmysqlclient... no<br />
checking for main() in -lsocket... no<br />
checking for mysql_query() in -lmysqlclient... no<br />
checking for main() in -lnsl... no<br />
checking for mysql_query() in -lmysqlclient... no<br />
checking for main() in -lmygcc... no<br />
checking for mysql_query() in -lmysqlclient... no<br />
*** extconf.rb failed ***<br />
Could not create Makefile due to some reason, probably lack of<br />
necessary libraries and/or headers.  Check the mkmf.log file for more<br />
details.  You may need configuration options.<br />
</code></p>
<p>The workaround was fairly simple.  Since I had <a href="http://www.wontblog.com/2010/04/19/installing-mysql-from-source-on-os-x/">installed MySQL from source</a> the situation was resolved with a few command line options:</p>
<p><code><br />
&gt; export ARCHFLAGS="-arch x86_64"<br />
&gt; gem install mysql -- \<br />
--with-mysql-dir=/usr/local/mysql \<br />
--with-mysql-lib=/usr/local/mysql/lib \<br />
--with-mysql-include=/usr/local/mysql/include \<br />
--with-mysql-config=/usr/local/mysql/bin/mysql_config </code></p>
<p><code> </code></p>
<p><code>Building native extensions.  This could take a while...<br />
Successfully installed mysql-2.8.1<br />
1 gem installed<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wontblog.com/2010/04/26/installing-mysql-gem-on-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gizmodo &#8220;finds&#8221; another Apple product</title>
		<link>http://www.wontblog.com/2010/04/26/gizmodo-finds-another-apple-product/</link>
		<comments>http://www.wontblog.com/2010/04/26/gizmodo-finds-another-apple-product/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 13:48:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[gizmodo]]></category>

		<guid isPermaLink="false">http://www.wontblog.com/?p=51</guid>
		<description><![CDATA[Hilarity below]]></description>
			<content:encoded><![CDATA[<p>Hilarity below</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/mqBDBVK9UyU" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/mqBDBVK9UyU"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wontblog.com/2010/04/26/gizmodo-finds-another-apple-product/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

