# Bug when installing Mongrel on Windows

**URL:** <https://www.ruby-forum.com/t/bug-when-installing-mongrel-on-windows/140376>\
**Category:** Ruby\
**Created:** [June 13, 2008, 11:44am UTC](https://www.ruby-forum.com/t/bug-when-installing-mongrel-on-windows/140376 "2008-06-13T11:44:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yonben](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e19b73/32.png) [@yonben](https://www.ruby-forum.com/u/yonben)\
**Post date:** [June 13, 2008, 11:44am UTC](https://www.ruby-forum.com/t/bug-when-installing-mongrel-on-windows/140376/1 "2008-06-13T11:44:37Z")

</div>

Hi guys,  
I want to install Mongrel, for install Redmine after, but when the  
Mongrel installation, I have this message:

D:\ruby\Mongrel\Mongrel\>gem install mongrel-1.1.5.gem  
Building native extensions. This could take a while…  
ERROR: While executing gem … (RuntimeError)  
Error instaling mongrel-1.1.5.gem:  
ERROR: Failed to build gem native extension.

ruby extconf.rb install mongrel-1.1.5.gem  
checking for main() in c.lib… no  
creating Makefile

nmake

Microsoft ® Program Maintenance Utility Version 1.50  
Copyright © Microsoft Corp 1988-94. All rights reserved.

```
    cl -nologo -I. -I. -Id:/ruby/lib/ruby/1.8/i386-mswin32 -I. -MD

```

-Zi -O2b2  
xg- -G6 -c -Tchttp11.c  
Le systÃ¨me ne peut exÃ©cuter le programme spÃ©cifiÃ©.  
NMAKE : fatal error U1077: ‘C:\WINDOWS\system32\cmd.exe’ : return code  
‘0x1’  
Stop.

Gem files will remain installed in  
d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5  
for inspection.  
Results logged to  
d:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5/ext/http11/gem\_ma  
ke.out

I don’t now what I can do.  
Thanks for your help and bye 😉

---

<div class="post-metadata">

**Author:** ![yonben](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/e19b73/32.png) [@yonben](https://www.ruby-forum.com/u/yonben)\
**Post date:** [June 13, 2008, 3:45pm UTC](https://www.ruby-forum.com/t/bug-when-installing-mongrel-on-windows/140376/2 "2008-06-13T15:45:52Z")

</div>

On Jun 13, 11:44 am, Yon Y. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> ruby extconf.rb install mongrel-1.1.5.gem  
> xg- -G6 -c -Tchttp11.c  
> Le système ne peut exécuter le programme spécifié.  
> NMAKE : fatal error U1077: ‘C:\WINDOWS\system32\cmd.exe’ : return code  
> ‘0x1’  
> Stop.

Looks like nmake cannot execute cl.exe ?

I need to update my copies of mongrel repository to do some work on  
the Windows gems, I thought Evan will be doing it, but seems he  
didn’t.

> I don’t now what I can do.  
> Thanks for your help and bye 😉

Do you downloaded the gem 1.1.5? have you tried the following?

gem install mongrel -v ‘= 1.1.4’

That will install 1.1.4 which already have mswin32 version until I  
manage to build latest version.

Please apologize the inconvenience.

HTH,
