# What's wrong with Mongrel?

**URL:** <https://www.ruby-forum.com/t/whats-wrong-with-mongrel/132392>\
**Category:** Rails\
**Created:** [March 19, 2008, 5:45pm UTC](https://www.ruby-forum.com/t/whats-wrong-with-mongrel/132392 "2008-03-19T17:45:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebastian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/4da419/32.png) [@sebastian](https://www.ruby-forum.com/u/sebastian)\
**Post date:** [March 19, 2008, 5:45pm UTC](https://www.ruby-forum.com/t/whats-wrong-with-mongrel/132392/1 "2008-03-19T17:45:24Z")

</div>

I’ve recently moved to a new system, Mac OS X 10.5, which has Rails  
and Mongrel installed by default.  
Yet when I fire up the server with “script/server”, Webrick is used  
instead of Mongrel. And when trying to force the use of Mongrel with  
“script/server mongrel” I get “PROBLEM: Mongrel is not available on  
your system (or not in your path)”.  
This is true since Mongrel is installed as a RubyGem, but that was  
also the case on my previous system, where Mongrel was properly  
recognized…  
What am I missing here?  
Thanks for any help,  
Sebastian

---

<div class="post-metadata">

**Author:** ![sebastian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/4da419/32.png) [@sebastian](https://www.ruby-forum.com/u/sebastian)\
**Post date:** [March 19, 2008, 6:25pm UTC](https://www.ruby-forum.com/t/whats-wrong-with-mongrel/132392/2 "2008-03-19T18:25:35Z")

</div>

On 19 Mar 2008, at 16:44, sebastian wrote:

> What am I missing here?  
> Thanks for any help,  
> Sebastian

Is the $PATH pointing at a ruby other than the one supplied by OS X  
(ie what does which ruby say ?)

Fred

---

<div class="post-metadata">

**Author:** ![sebastian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/4da419/32.png) [@sebastian](https://www.ruby-forum.com/u/sebastian)\
**Post date:** [March 20, 2008, 6:38pm UTC](https://www.ruby-forum.com/t/whats-wrong-with-mongrel/132392/3 "2008-03-20T18:38:39Z")

</div>

Thanks for replying, Frederick!

I use the default ruby install: /usr/bin/ruby  
But now that you mention it: on my previous machine I used a MacPort  
install (/opt/local/bin/ruby)  
What does this tell you?

Sebastian

On Mar 19, 5:24 pm, Frederick C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![sebastian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/4da419/32.png) [@sebastian](https://www.ruby-forum.com/u/sebastian)\
**Post date:** [March 24, 2008, 9:45pm UTC](https://www.ruby-forum.com/t/whats-wrong-with-mongrel/132392/4 "2008-03-24T21:45:14Z")

</div>

Hi,

I have the exact same issue here on a fresh new install of Tiger, with  
RubyOSX. I really think it is a path issue, but I don’t know how to  
handle it…

---

<div class="post-metadata">

**Author:** ![sebastian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/4da419/32.png) [@sebastian](https://www.ruby-forum.com/u/sebastian)\
**Post date:** [March 28, 2008, 5:02pm UTC](https://www.ruby-forum.com/t/whats-wrong-with-mongrel/132392/5 "2008-03-28T17:02:36Z")

</div>

> Yet when I fire up the server with “script/server”, Webrick is used  
> instead ofMongrel. And when trying to force the use ofMongrelwith  
> “script/servermongrel” I get “PROBLEM:Mongrelis not available on  
> your system (or not in your path)”.

Not sure if this will be of any relevance to anyone else having these  
problems, but the same thing just started happening to me. In my case  
I’m using capistrano to deploy to a mongrel server and found that  
having the mongrel.rb file (containing the deploy task overrides for  
mongrel) in my config directory was what’s causing my problems.

I renamed this to capistrano\_mongrel.rb and now mongrel is used  
instead of webrick when running in development mode locally.

Rupert

---

<div class="post-metadata">

**Author:** ![sebastian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/4da419/32.png) [@sebastian](https://www.ruby-forum.com/u/sebastian)\
**Post date:** [March 22, 2008, 8:48pm UTC](https://www.ruby-forum.com/t/whats-wrong-with-mongrel/132392/6 "2008-03-22T20:48:05Z")

</div>

sebastian wrote:

> I’ve recently moved to a new system, Mac OS X 10.5, which has Rails  
> and Mongrel installed by default.  
> Yet when I fire up the server with “script/server”, Webrick is used  
> instead of Mongrel. And when trying to force the use of Mongrel with  
> “script/server mongrel” I get “PROBLEM: Mongrel is not available on  
> your system (or not in your path)”.  
> This is true since Mongrel is installed as a RubyGem, but that was  
> also the case on my previous system, where Mongrel was properly  
> recognized…  
> What am I missing here?  
> Thanks for any help,  
> Sebastian

maybe uninstall and reinstall mongrel, make sure you’re using the same  
gem version as the ruby version

---

<div class="post-metadata">

**Author:** ![sebastian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/4da419/32.png) [@sebastian](https://www.ruby-forum.com/u/sebastian)\
**Post date:** [April 16, 2008, 12:35am UTC](https://www.ruby-forum.com/t/whats-wrong-with-mongrel/132392/7 "2008-04-16T00:35:10Z")

</div>

$ script/server mongrel  
=\> Booting Mongrel (use ‘script/server webrick’ to force WEBrick)  
PROBLEM: Mongrel is not available on your system (or not in your path)

Same Issue here, it IS the reason, because the include looks for a  
certain mongrel.rb

thank you rupert!  
Renaming helped me out.
