Seems to me that 2.0.10 is broken. 2.0.9 installed properly:
C:\Users\Luis>gem install bluecloth -v 2.0.9
Fetching: bluecloth-2.0.9.gem (100%)
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
Successfully installed bluecloth-2.0.9
1 gem installed
For 2.0.10 I get the same error.
I would suggest report it to the gem author:
http://deveiate.org/projects/BlueCloth/
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
The issue I see with 2.0.9 is that is expecting the extension be
located inside 1.8 folder inside the lib directory of the gem.
http://deveiate.org/projects/BlueCloth/browser/lib/bluecloth.rb#L183
That is wrong.
It should be something like the following lines:
https://github.com/luislavena/sqlite3-ruby/blob/master/lib/sqlite3.rb
I've just sent a message to the author on GitHub.
Hi,
I was wondering if there is any workaround to this while it is being fixed. e.g. copying generated file to expected location etc.
This may allow us to move ahead with our work.
regards,
Jaymin
Yes, you could copy the extension to the expected location, or you could apply Luis' mentioned fix locally, then build the bluecloth gem & install.
Hi,
Thanks for your swift repy. I have tried with following copy scenaior
but did not helped.
1) C:\Ruby187\lib\ruby\gems\1.8\gems\bluecloth-2.0.9 to C:\Ruby187\lib
\1.8\gems\bluecloth-2.0.92) C:\Ruby187\lib\ruby\gems\1.8\gems\bluecloth-2.0.9 to C:\Ruby187\lib
\1.8\bluecloth-2.0.9
3) C:\Ruby187\lib\ruby\gems\1.8\gems\bluecloth-2.0.9\ext contents to C:
\Ruby187\lib\1.8\bluecloth-2.0.9
4) C:\Ruby187\lib\ruby\gems\1.8\gems\bluecloth-2.0.9\ext contents to C:
\Ruby187\lib\ruby\gems\1.8\
Also, tried few others scenarios like content of bluecloth-2.0.9 in C:
\Ruby187\lib\1.8\ as well as C:\Ruby187\lib\1.8\bluecloth_ext folder
but none of them worked.
Can you please let me know exact path to copy/follow as workaround.
ps: I am infant in ruby world :-)
regards,
Jaymin
Please install version 2.0.7, which already provides binaries for mingw32
gem install bluecloth -v 2.0.7
Hello,
I'm happy to inform that the author of bluecloth gem just released
version 2.0.11 which corrects the issue found in this thread and also
includes binaries for 1.8.x and 1.9.2 versions of Ruby.
https://rubygems.org/gems/bluecloth
You can install now with: gem install bluecloth
No need to trigger compilation process.
Thanks everybody for the support and specially the gem author to
provide Windows binaries.
Cheers,