<?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>SPARQ.BLOG &#187; mongrel</title>
	<atom:link href="http://blog.sparqcode.com/tag/mongrel/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sparqcode.com</link>
	<description>The insider&#039;s guide to everything sparqcode</description>
	<lastBuildDate>Sat, 04 Feb 2012 18:41:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Mongrel and Snow Leopard</title>
		<link>http://blog.sparqcode.com/2009/11/20/the-mongrel-and-the-snow-leopard/</link>
		<comments>http://blog.sparqcode.com/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 all my old gems in Snow Leopard with all its 64-bit glory&#8230; Nope. 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 &#8230; <a href="http://blog.sparqcode.com/2009/11/20/the-mongrel-and-the-snow-leopard/">Read more <span class="meta-nav">&#8594;</span></a>]]></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>
<pre name="code">/Users/.../.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/http11.bundle: dlopen(/Users/.../.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/http11.bundle, 9): no suitable image found.  Did find: (LoadError)

<span style="white-space: pre"> </span>/Users/.../.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/http11.bundle: no matching architecture in universal wrapper - /Users/.../.gem/ruby/1.8/gems/mongrel-1.1.5/bin/../lib/http11.bundle

<span style="white-space: pre"> </span>from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'

...</pre>
<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>
<pre name="code">sudo gem uninstall mongrel

sudo gem uninstall fastthread

sudo gem install mongrel</pre>
<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://blog.sparqcode.com/2009/11/20/the-mongrel-and-the-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

