title: Unable to install or update Ruby bluecloth gem on Windows Ruby 1.9.2
body: <p>I'm getting an error message while trying to update my version of bluecloth gem on Windows. Is there a different version that I need to install for Windows or an alternative to bluecloth that I can use? Unfortunately my development environment is strictly Windows due to other software I work with, otherwise I'd use a Linux environment.</p>
  
  <p>Here's a copy paste of what I get: </p>
  
  <blockquote>
    <p>C:\Users\Developer1>gem update<br>
    Updating installed gems<br>
    Updating bluecloth<br>
    Temporarily enhancing PATH to include DevKit...<br>
    Building native extensions.  This could take a while...<br>
    ERROR:  Error installing bluecloth:<br>
    ERROR: Failed to build gem native extension.</p>
    
    <p>C:/Ruby192/bin/ruby.exe extconf.rb<br>
    checking for srand()... yes<br>
    checking for random()... no<br>
    checking for rand()... yes<br>
    checking for bzero() in string.h,strings.h... no<br>
    checking for strcasecmp()... yes<br>
    checking for strncasecmp()... yes<br>
    checking for mkdio.h... yes<br>
    checking for ruby/encoding.h... yes<br>
    creating extconf.h<br>
    creating Makefile</p>
    
    <p>make
    C:/Ruby192/bin/ruby -e "puts 'EXPORTS', 'Init_bluecloth_ext'"  > bluecloth_ext-i386-mingw32.def
    gcc -I. -IC:/Ruby192/include/ruby-1.9.1/i386-mingw32 -I/C/Ruby192/include/ruby-1<br>
    .9.1/ruby/backward -I/C/Ruby192/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\"extconf.h\"    -DVERSION=\"2.0.9\" -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I.  -o bluecloth.o -c bluecloth.c<br>
    In file included from c:\ruby-devkit\mingw\bin../lib/gcc/mingw32/4.5.2/../../..<br>
    /../include/windows.h:48:0,<br>
    from c:\ruby-devkit\mingw\bin../lib/gcc/mingw32/4.5.2/../../..<br>
    /../include/winsock2.h:22,<br>
    from c:/Ruby192/include/ruby-1.9.1/ruby/win32.h:33,<br>
    from c:/Ruby192/include/ruby-1.9.1/ruby/defines.h:205,<br>
    from c:/Ruby192/include/ruby-1.9.1/ruby/ruby.h:74,<br>
    from c:/Ruby192/include/ruby-1.9.1/ruby.h:32,<br>
    from bluecloth.h:14,<br>
    from bluecloth.c:25:<br>
    c:\ruby-devkit\mingw\bin../lib/gcc/mingw32/4.5.2/../../../../include/windef.h:2<br>
    29:23: error: duplicate 'unsigned'<br>
    c:\ruby-devkit\mingw\bin../lib/gcc/mingw32/4.5.2/../../../../include/windef.h:2<br>
    38:23: error: duplicate 'unsigned'<br>
    c:\ruby-devkit\mingw\bin../lib/gcc/mingw32/4.5.2/../../../../include/windef.h:2<br>
    38:23: error: two or more data types in declaration specifiers<br>
    c:\ruby-devkit\mingw\bin../lib/gcc/mingw32/4.5.2/../../../../include/windef.h:2<br>
    41:24: error: duplicate 'unsigned'<br>
    make: <em>*</em> [bluecloth.o] Error 1  </p>
    
    <p>Gem files will remain installed in C:/Ruby192/lib/ruby/gems/1.9.1/gems/bluecloth-2.2.0 for inspection.
    Results logged to C:/Ruby192/lib/ruby/gems/1.9.1/gems/bluecloth-2.2.0/ext/gem_make.out 
    Nothing to update</p>
  </blockquote>