# Error while installing juggernaut gem

**URL:** <https://www.ruby-forum.com/t/error-while-installing-juggernaut-gem/152227>\
**Category:** Rails\
**Created:** [October 31, 2008, 3:43pm UTC](https://www.ruby-forum.com/t/error-while-installing-juggernaut-gem/152227 "2008-10-31T15:43:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sreejithms99](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/22d042/32.png) [@sreejithms99](https://www.ruby-forum.com/u/sreejithms99)\
**Post date:** [October 31, 2008, 3:43pm UTC](https://www.ruby-forum.com/t/error-while-installing-juggernaut-gem/152227/1 "2008-10-31T15:43:59Z")

</div>

Hi,

I have tried to install juggernaut gem using the command

gem install juggernaut

and got the following error

D:\Sreejith\Ruby1\ruby\>gem install juggernaut  
Building native extensions. This could take a while…  
ERROR: Error installing juggernaut:  
ERROR: Failed to build gem native extension.

D:/Sreejith/Ruby1/ruby/bin/ruby.exe extconf.rb install juggernaut  
checking for windows.h… no

nmake

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

```
    cl -I. -I. -ID:/Sreejith/Ruby1/ruby/lib/ruby/1.8/i386-mswin32

```

-I. -MD -Z  
i -O2b2xg- -G6 -DHAVE\_WINDOWS\_H -DHAVE\_WINSOCK\_H -D OS\_WIN32 -D  
BUILD\_FOR\_RUBY  
-EHs -GR -D WITHOUT\_SSL -c -Tpbinder.cpp  
‘cl’ is not recognized as an internal or external command,  
operable program or batch file.  
NMAKE : fatal error U1077: ‘C:\WINDOWS\system32\cmd.exe’ : return code  
‘0x1’  
Stop.

Gem files will remain installed in  
D:/Sreejith/Ruby1/ruby/lib/ruby/gems/1.8/gems  
/eventmachine-0.12.2 for inspection.  
Results logged to  
D:/Sreejith/Ruby1/ruby/lib/ruby/gems/1.8/gems/eventmachine-0.1  
2.2/ext/gem\_make.out

I have tried to install nmake and failed. How is it done ?  
Could you please help me to solve it out.
