# Cannot start mongrel after Snow Leopard upgrade : Wrong Architecture!

**URL:** <https://www.ruby-forum.com/t/cannot-start-mongrel-after-snow-leopard-upgrade-wrong-architecture/175277>\
**Category:** Rails\
**Created:** [September 10, 2009, 1:59pm UTC](https://www.ruby-forum.com/t/cannot-start-mongrel-after-snow-leopard-upgrade-wrong-architecture/175277 "2009-09-10T13:59:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kadoudal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f0a364/32.png) [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Post date:** [September 10, 2009, 1:59pm UTC](https://www.ruby-forum.com/t/cannot-start-mongrel-after-snow-leopard-upgrade-wrong-architecture/175277/1 "2009-09-10T13:59:02Z")

</div>

(MacBook Core 2 Duo… but 32-bits kernel… upgraded to SL)  
Rails 2.3.4 / Ruby 1.8.7  
fine with Webrick  
Booting WEBrick  
=\> Rails 2.3.4 application starting on [http://0.0.0.0:3000](http://0.0.0.0:3000)

but trying to start Mongrel ( btw should be the default in dev mode  
when installed ?)

mongrel\_rails start -d

/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/…/lib/  
http11.bundle: dlopen(/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/  
bin/…/lib/http11.bundle, 9): no suitable image found. Did find:  
(LoadError)  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/…/lib/  
http11.bundle: mach-o, but wrong architecture - /usr/local/lib/ruby/  
gems/1.8/gems/mongrel-1.1.5/bin/…/lib/http11.bundle

another example of the big mess in Rails dev env. w Apple SL !! is my  
architecture i386 ? or x86-64 … ? as I cannot boot the 64-bit  
kernel on my MacBook…

what should I modify ??

thanks for any info

---

<div class="post-metadata">

**Author:** ![kadoudal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f0a364/32.png) [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Post date:** [September 10, 2009, 4:54pm UTC](https://www.ruby-forum.com/t/cannot-start-mongrel-after-snow-leopard-upgrade-wrong-architecture/175277/2 "2009-09-10T16:54:03Z")

</div>

uninstall/install your architecture specific gems.

Doing something like sudo gem update --system; sudo gem pristine --all

---

<div class="post-metadata">

**Author:** ![kadoudal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f0a364/32.png) [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Post date:** [September 11, 2009, 1:11am UTC](https://www.ruby-forum.com/t/cannot-start-mongrel-after-snow-leopard-upgrade-wrong-architecture/175277/3 "2009-09-11T01:11:42Z")

</div>

done … re-installed ( ruby 1.9.and 1.8.7, rails 2.3.4 and all gems)  
but I had to care about error in both make ruby… need to  
install readline 6.0 in usr/local to avoid errors…

thanks
