# Installing mongrel\_cluster on Windows... Runtime error :'(

**URL:** <https://www.ruby-forum.com/t/installing-mongrel-cluster-on-windows-runtime-error/77384>\
**Category:** Rails\
**Created:** [November 27, 2006, 2:45pm UTC](https://www.ruby-forum.com/t/installing-mongrel-cluster-on-windows-runtime-error/77384 "2006-11-27T14:45:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c57346/32.png) [@danielb](https://www.ruby-forum.com/u/danielb)\
**Post date:** [November 27, 2006, 2:45pm UTC](https://www.ruby-forum.com/t/installing-mongrel-cluster-on-windows-runtime-error/77384/1 "2006-11-27T14:45:36Z")

</div>

## Here’s what happens when I try to install mongrel\_cluster:

C:\Documents and Settings\root1\>gem install mongrel\_cluster  
Install required dependency mongrel? [Yn]  
Building native extensions. This could take a while…

ERROR: While executing gem … (RuntimeError)  
ERROR: Failed to build gem native extension.  
Gem files will remain installed in  
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.13  
.4 for inspection.

## Results logged to c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/ext/http11/gem \_make.out

Before, I had just mongrel installed. Then this happened, and I tried  
uninstalling mongrel first. But, the same thing happens.

Any idea about where to go from here?

Thanks,  
Daniel

---

<div class="post-metadata">

**Author:** ![danielb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c57346/32.png) [@danielb](https://www.ruby-forum.com/u/danielb)\
**Post date:** [November 28, 2006, 12:18pm UTC](https://www.ruby-forum.com/t/installing-mongrel-cluster-on-windows-runtime-error/77384/2 "2006-11-28T12:18:40Z")

</div>

Daniel Smedegaard B. wrote:

> ERROR: While executing gem … (RuntimeError)  
> ERROR: Failed to build gem native extension.

Okay, yeah, so basically it’s about having Visual C++ 6.0 (Standard  
Edition works fine) with Service Pack 6 installed. Once that’s done  
(plus the obligatory reboot), extensions compile just fine! 🙂

---

<div class="post-metadata">

**Author:** ![danielb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c57346/32.png) [@danielb](https://www.ruby-forum.com/u/danielb)\
**Post date:** [November 28, 2006, 4:19pm UTC](https://www.ruby-forum.com/t/installing-mongrel-cluster-on-windows-runtime-error/77384/3 "2006-11-28T16:19:19Z")

</div>

Yeah… the mongrel\_cluster stuff doesn’t natively work with Windows.

However, if someone would be nice enough to compile it as a win32 gem  
(hint  
hint) that would be great.

---

<div class="post-metadata">

**Author:** ![danielb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c57346/32.png) [@danielb](https://www.ruby-forum.com/u/danielb)\
**Post date:** [November 28, 2006, 7:52pm UTC](https://www.ruby-forum.com/t/installing-mongrel-cluster-on-windows-runtime-error/77384/4 "2006-11-28T19:52:09Z")

</div>

It’s most likely not gonna work on Windows. At least that was the last  
official response. But if you can get it compiled… let’s investigate  
it!  
I’m up for it.

---

<div class="post-metadata">

**Author:** ![danielb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c57346/32.png) [@danielb](https://www.ruby-forum.com/u/danielb)\
**Post date:** [November 28, 2006, 7:26pm UTC](https://www.ruby-forum.com/t/installing-mongrel-cluster-on-windows-runtime-error/77384/5 "2006-11-28T19:26:00Z")

</div>

Brian H. wrote:

> Yeah… the mongrel\_cluster stuff doesn’t natively work with Windows.
> 
> However, if someone would be nice enough to compile it as a win32 gem (hint  
> hint) that would be great.

Sure thing 🙂 How would I go about doing that, though?

I should note that I could not get the darn thing to work, though…  
I’m at the point where I’ve screwed up the server so bad, we have to  
reinstall Windows… Gonna try with VMware tomorrow to find the right  
approach. I can compile the mongrel\_cluster stuff for you then.

Cheers,  
Daniel
