<?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>MSKYNET BLOG &#187; mongrel</title>
	<atom:link href="http://www.mskynet.com/msky-blog/tag/mongrel/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mskynet.com/msky-blog</link>
	<description>The future of mobile is here...</description>
	<lastBuildDate>Thu, 03 Jun 2010 05:49:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mongrel and Snow Leopard</title>
		<link>http://www.mskynet.com/msky-blog/2009/11/20/the-mongrel-and-the-snow-leopard/</link>
		<comments>http://www.mskynet.com/msky-blog/2009/11/20/the-mongrel-and-the-snow-leopard/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 04:24:18 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Technical Development]]></category>
		<category><![CDATA[mongrel]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[snow leopard]]></category>

		<guid isPermaLink="false">http://www.mskynet.com/msky-blog/?p=159</guid>
		<description><![CDATA[So the ongoing saga of upgrade woes continues&#8230; You would think that &#8220;sudo gem update&#8221; should take care of upgrading [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" title="Ruby on Rails" src="http://msky-blog.s3.amazonaws.com/rails/ror_logo.png" alt="" width="104" height="124" />So the ongoing saga of upgrade woes continues&#8230; You would think that &#8220;sudo gem update&#8221; should take care of upgrading all my old gems in Snow Leopard with all its 64-bit glory&#8230;</p>
<p>Nope.</p>
<p>It started when &#8220;ruby script/server&#8221; started WebBrick instead of Mongrel. That&#8217;s odd, but I figure I could work around it by just running &#8220;sudo gem install mongrel&#8221; again.</p>
<p>Unfortunately, that didn&#8217;t do the trick. So I tried summoning Mongrel directly:</p>
<p>mongrel_rails start</p>
<p>and I got this in return:</p>
<blockquote><p>/Users/&#8230;/.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/http11.bundle: dlopen(/Users/&#8230;/.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/http11.bundle, 9): no suitable image found.  Did find: (LoadError)</p>
<p><span style="white-space: pre"> </span>/Users/&#8230;/.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/http11.bundle: no matching architecture in universal wrapper &#8211; /Users/&#8230;/.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/http11.bundle</p>
<p><span style="white-space: pre"> </span>from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require&#8217;</p>
<p>&#8230;</p></blockquote>
<p>Luckily, Google saves the day and I found this: <a title="http://stackoverflow.com/questions/1350486/ruby-on-rails-staring-mongrel-server  " href="http://stackoverflow.com/questions/1350486/ruby-on-rails-staring-mongrel-server  ">http://stackoverflow.com/questions/1350486/ruby-on-rails-staring-mongrel-server</a></p>
<p>I ran the following commands and it all worked as advertised. Phew, that one was easy.</p>
<blockquote><p>sudo gem uninstall mongrel</p>
<p>sudo gem uninstall fastthread</p>
<p>sudo gem install mongrel</p></blockquote>
<div id="_mcePaste" style="overflow: hidden; position: absolute; width: 1px; height: 1px; top: 0px; left: -10000px;">/Users/yowhan/.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/http11.bundle: dlopen(/Users/yowhan/.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/http11.bundle, 9): no suitable image found.  Did find: (LoadError)</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; width: 1px; height: 1px; top: 0px; left: -10000px;"><span style="white-space: pre"> </span>/Users/yowhan/.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/http11.bundle: no matching architecture in universal wrapper &#8211; /Users/yowhan/.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/http11.bundle</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; width: 1px; height: 1px; top: 0px; left: -10000px;"><span style="white-space: pre"> </span>from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require&#8217;</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; width: 1px; height: 1px; top: 0px; left: -10000px;"><span style="white-space: pre"> </span>from /Users/yowhan/.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel.rb:12</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; width: 1px; height: 1px; top: 0px; left: -10000px;"><span style="white-space: pre"> </span>from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_requir</div>
]]></content:encoded>
			<wfw:commentRss>http://www.mskynet.com/msky-blog/2009/11/20/the-mongrel-and-the-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
