Bluecloth 2.0.5

On Sep 7, 2:50 pm, “T.J. Crowder” [email protected] wrote:


require ‘bluecloth’
from C:/Ruby/lib/ruby/gems/1.8/gems/bluecloth-2.0.5-x86-
project with its documentation, and naturally they’re trying to use
BlueCloth2 for markdown stuff.

ANY library installed with RubyGems must require rubygems.

require ‘rubygems’
require ‘bluecloth’
BlueCloth.new(‘testing’).to_html

Unless, of course, you’re requiring it inside Rails, which already
requires rubygems and you should be indicating the gem dependency
inside environment.rb

HTH,

On Dec 24, 5:57 pm, Harry S. [email protected] wrote:

checking for srand()… no

Using the binary gem from http://deveiate.org/code/bluecloth-2.0.5-x86-mingw32.gem
leads to the same problem as the one described inhttp://www.deveiate.org/projects/BlueCloth/ticket/59.
In the binary gem the file bluecloth_ext.so is missing. Does someone
have it?

The gem is broken, I’ve responded to this before over RubyInstaller
group:

http://groups.google.com/group/rubyinstaller/browse_thread/thread/59f3812381a195b5

That includes instruction and patch for the future.

Thx Luis!

To sum up:
Install the devkit available at http://rubyinstaller.org/
then gem install bluecloth --platform=ruby

H