Failed to install or upgrade the Ruby bluecloth gem on Windows Ruby 1.9.2

I get an error when trying to update my version of bluecloth gem on Windows. Is there any other 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 that I work with, otherwise I would use the Linux environment.

Here is a copy of what I get:

C: \ Users \ Developer1> update gem
Update installed gems
Update bluecloth
Temporarily strengthening PATH to enable DevKit ...
Creating your own extensions. This may take some time ...
ERROR: Error installing bluecloth:
ERROR: Failed to create native gem extension.

C: /Ruby192/bin/ruby.exe extconf.rb
checking for srand () ... yes
checking for random () ... no
checking for rand () ... yes
checking for bzero () in string.h, strings.h ... no
check for strcasecmp () ... yes
check for strncasecmp () ... yes
check for mkdio.h ... yes
check for ruby ​​/encoding.h ... yes create extconf. h
create makefile

C:/Ruby192/bin/ruby ​​-e " '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
.9.1/ruby ​​/back -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- -Wpointer-arith -Wwrite-strings -Wno-missing-field - -Wno-long-long -I. -o bluecloth.o -c bluecloth.c
, c:\ruby-devkit\mingw\bin../lib/gcc/mingw32/4.5.2/../../..
/../include/windows.h:48:0,
c:\ruby-devkit\mingw\bin../lib/gcc/mingw32/4.5.2/../../..
/../include/winsock2.h:22,
c:/Ruby192/include/ruby-1.9.1/ruby/win32.h: 33,
c:/Ruby192/include/ruby-1.9.1/ruby/defines.h: 205,
c:/Ruby192/include/ruby-1.9.1/ruby/ruby.h: 74,
c:/Ruby192/include/ruby-1.9.1/ruby.h: 32,
bluecloth.h: 14,
bluecloth.c: 25:
C:\ DevKit\MinGW\../Library/GCC/mingw32/4.5.2/../../../..//windef.h: 2
29:23: : " "
C:\ DevKit\MinGW\../Library/GCC/mingw32/4.5.2/../../../..//windef.h: 2
38:23: : " "
C:\ DevKit\MinGW\../Library/GCC/mingw32/4.5.2/../../../..//windef.h: 2
38:23: :
C:\ DevKit\MinGW\../Library/GCC/mingw32/4.5.2/../../../..//windef.h: 2
41:24: : 'unsigned'
make: * [bluecloth.o] 1

Gem C:/Ruby192/lib/ruby/gems/1.9.1/gems/bluecloth-2.2.0 . , C:/Ruby192/lib/ruby/gems/1.9.1/gems/bluecloth-2.2.0/ext/gem_make.out

+3
2

, , C, BlueCloth, Windows.

:

https://gist.github.com/1539611

.

, ?

http://deveiate.org/projects/BlueCloth https://github.com/ged/bluecloth

, .

+3

2.2.0 bluecloth . . , .

  • gem install bluecloth -v '2.2.0',

  • bluecloth.h,

    H:\Ruby193\lib\ruby\gems\1.9.1\gems\bluecloth-2.2.0\ext\bluecloth.h

  • bluecloth 2.2.0,

    H:\Ruby193\lib\ruby\gems\1.9.1\gems\bluecloth-2.2.0

  • rake gem ( ).

    .gem,

    H:\Ruby193\lib\ruby\gems\1.9.1\gems\bluecloth-2.2.0\pkg\bluecloth-2.2.0.gem

  • :

    gem install bluecloth-2.2.0.gem --platform=ruby

+3

All Articles