If you use the mswin32 port, you are more or less on your own. Where does that mswin32 come from? Are you using the DevKit with the mswin32 port of MRI? The DevKit is only for the current MinGW port of MRI and YARV, it does not work with the mswin32 port (which, BTW, has been obsolete for quite some time now). Thanks to everyone for pointing that out! I reinstalled using the Installer and now building jekyll with the DevKit works fine. I finally realized that I had not installed Ruby through. It's hell bent on using nmake and that fails pretty with the above error messageĪny help on this would be greatly appreciated! I've tried running the gem install from the MSYS shell that comes with the DevKit so I do have the Unix make at that point, but I don't know how to instruct Ruby to use make instead of nmake (and reading the mkmf.rb didn't enlighten me either). I'm using the nmake that came with Visual Studio 2010 in C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin as suggested in some other Article. Results logged to C:/Ruby/lib/ruby/gems/1.8/gems/fast-stemmer-1.0.0/ext/gem_make Gem files will remain installed in C:/Ruby/lib/ruby/gems/1.8/gems/fast-stemmer-1 NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0 Porter.c(31) : fatal error C1083: Cannot open include file: 'stdlib.h': No such MD -Zi -O2b2xg-G6 -c -Tcporter.cĬl : Command line warning D9035 : option 'Og-' has been deprecated and will be rĬl : Command line warning D9002 : ignoring unknown option '-G6' Microsoft (R) Program Maintenance Utility Version 9.01Ĭopyright (C) Microsoft Corporation. This could take a while.ĮRROR: Failed to build gem native extension. Temporarily enhancing PATH to include DevKit.īuilding native extensions. I found this handy guide on RubyDevKit to install a 'sane' environment on Windows and it works, but fast-stemmer is still hell bent on using nmake to build the binaries and that returns the following error: C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>gem install jekyll Jekyll depends on fast-stemmer-1.0.0 and that has to be built as a native extension How the hell do you install the Ruby Gem Jekyll on Windows. I'm about to go crazy here so I'll just ask:
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |