# Juggernaut problems

**URL:** <https://www.ruby-forum.com/t/juggernaut-problems/145372>\
**Category:** Ruby\
**Created:** [August 8, 2008, 3:10pm UTC](https://www.ruby-forum.com/t/juggernaut-problems/145372 "2008-08-08T15:10:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [August 8, 2008, 3:10pm UTC](https://www.ruby-forum.com/t/juggernaut-problems/145372/1 "2008-08-08T15:10:48Z")

</div>

Hi All,

I am new at RoR, I am trying to do “gem install juggernaut”, this  
requires json and event machine. I have successfully installed event  
machine, but when I am trying to install juggernaut or json, this is  
happening:

C:\Users\aabraham\>gem install juggernaut  
Install required dependency json? [Yn] Y  
Building native extensions. This could take a while…  
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)  
ERROR: Failed to build gem native extension.

ruby extconf.rb install juggernaut  
creating Makefile

nmake  
‘nmake’ is not recognized as an internal or external command,  
operable program or batch file.

Gem files will remain installed in D:/RubyNew/ruby/lib/ruby/gems/1.8/  
gems/json-1  
.1.3 for inspection.  
Results logged to D:/RubyNew/ruby/lib/ruby/gems/1.8/gems/json-1.1.3/  
ext/json/ext  
/parser/gem\_make.out

Can someone please help me on this?

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [August 8, 2008, 10:43pm UTC](https://www.ruby-forum.com/t/juggernaut-problems/145372/2 "2008-08-08T22:43:23Z")

</div>

unknown wrote:

> Hi All,
> 
> I am new at RoR, I am trying to do “gem install juggernaut”, this  
> requires json and event machine. I have successfully installed event  
> machine, but when I am trying to install juggernaut or json, this is  
> happening:
> 
> C:\Users\aabraham\>gem install juggernaut  
> Install required dependency json? [Yn] Y  
> Building native extensions. This could take a while…  
> ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)  
> ERROR: Failed to build gem native extension.
> 
> ruby extconf.rb install juggernaut  
> creating Makefile
> 
> nmake  
> ‘nmake’ is not recognized as an internal or external command,  
> operable program or batch file.
> 
> Gem files will remain installed in D:/RubyNew/ruby/lib/ruby/gems/1.8/  
> gems/json-1  
> .1.3 for inspection.  
> Results logged to D:/RubyNew/ruby/lib/ruby/gems/1.8/gems/json-1.1.3/  
> ext/json/ext  
> /parser/gem\_make.out
> 
> Can someone please help me on this?

You need to install nmake for windows… I am a linux guy and wouldn’t  
know how to help you on windows but I am sure you can find an install  
for it somewhere…

once nmake is in your path, you will be set to go (if you have the libs  
that that json is attempting to bind with)

hth

ilan

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [August 9, 2008, 1:30am UTC](https://www.ruby-forum.com/t/juggernaut-problems/145372/3 "2008-08-09T01:30:40Z")

</div>

> nmake  
> ‘nmake’ is not recognized as an internal or external command,  
> operable program or batch file.  
> JSON for some reason doesn’t have a binary executable available for  
> download, and anticipates you having a compiler available.

You could try installing MSVC 6 [and having it in your path] or try a  
mingw version of Ruby, and also install its devkit:

> **[Still playing with Ruby on Windows | AkitaOnRails.com](https://www.akitaonrails.com/2008/7/26/still-playing-with-ruby-on-windows)**
>
> Leitores brasileiros: cliquem aqui
> A week ago I’ve tested the newest One-Click Ruby Installer build and found a few minor glitches. Since then I’ve...

YMMV.  
-R
