Thanks for your reply.
I have ensured that there no gem install for bluecloth for any version.
I
have also verified that there are no files for bluecloth in cache folder
too.
I had downloaded devkit from Downloads and
followed
the instruction per
Development Kit · oneclick/rubyinstaller Wiki · GitHub. I had
also
ensured that devkit is installed properly by following smoke test.
I had then tried installing bluecloth (v2.0.10). It had failed with
following error: (I had also tried removing 2.0.10 version from gem and
cache folder and installing specific version 2.0.5, it got installed
without
any error but when I tried to execute db:create or db:migrate - it
throws
the error we discussed earlier email). (I had tried on different box as
well
ensuring that it has fresh install of Ruby 187 with devkit)
C:\test\typo>gem install bluecloth --platform=ruby
Temporarily enhancing PATH to include DevKit…
Building native extensions. This could take a while…
ERROR: Error installing bluecloth:
ERROR: Failed to build gem native extension.
c:/Ruby187/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
checking for strcasecmp()… yes
checking for strncasecmp()… yes
checking for mkdio.h… yes
checking for ruby/encoding.h… no
creating extconf.h
creating Makefile
make
gcc -I. -I. -Ic:/Ruby187/lib/ruby/1.8/i386-mingw32 -I.
-DRUBY_EXTCONF_H="extcon
f.h" -DVERSION="2.0.4" -g -O2 -DFD_SETSIZE=256 -I. -Wall -c
bluecloth.c
In file included from
c:\rubydevkit\mingw\bin../lib/gcc/mingw32/4.5.1/…/…/…/
…/include/windows.h:48:0,
from
c:\rubydevkit\mingw\bin../lib/gcc/mingw32/4.5.1/…/…/…/
…/include/winsock2.h:22,
from
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:27,
from
c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186,
from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from bluecloth.h:14,
from bluecloth.c:25:
c:\rubydevkit\mingw\bin../lib/gcc/mingw32/4.5.1/…/…/…/…/include/windef.h:22
9:23: error: duplicate ‘unsigned’
c:\rubydevkit\mingw\bin../lib/gcc/mingw32/4.5.1/…/…/…/…/include/windef.h:23
8:23: error: duplicate ‘unsigned’
c:\rubydevkit\mingw\bin../lib/gcc/mingw32/4.5.1/…/…/…/…/include/windef.h:23
8:23: error: two or more data types in declaration specifiers
c:\rubydevkit\mingw\bin../lib/gcc/mingw32/4.5.1/…/…/…/…/include/windef.h:24
1:24: error: duplicate ‘unsigned’
bluecloth.c: In function ‘bluecloth_initialize’:
bluecloth.c:190:9: warning: unused variable ‘utf8text’
make: *** [bluecloth.o] Error 1
Gem files will remain installed in
c:/Ruby187/lib/ruby/gems/1.8/gems/bluecloth-2
.0.10 for inspection.
Results logged to
c:/Ruby187/lib/ruby/gems/1.8/gems/bluecloth-2.0.10/ext/gem_mak
e.out
C:\test\typo>