[TxMt] Re: RedCloth is not a class?

Eric O'Connell eric at bodytalksystem.com
Tue Jan 12 04:22:03 UTC 2010


Which version of the RedCloth gem do you have? If I recall, this is a problem between versions 3 and 4 of the gem -- one of them declares RedCloth as a module (I think this is 4) and the other declares it as a class. In the past, just changing whatever line is re-opening the RedCloth class to be re-opening the module has always fixed it for me.

Cheers,
Eric

Eric O'Connell
Lead Developer
-
eric at bodytalksystem.com
www.bodytalksystem.com

On Jan 11, 2010, at 8:20 PM, Matt Neuburg wrote:

> On 1/11/10 5:17 PM, in article 4B4BCD99.9070705 at jay.fm, "Jay Levitt"
> <lists-textmate at jay.fm> wrote:
> 
>> I'm trying to use the Textile bundle, but I get the following when I preview
>> or render a textile doc:
>> 
>> /Users/jay/Library/Application Support/TextMate/Pristine
>> Copy/Bundles/Textile.tmbundle/Support/lib/redcloth.rb:167: RedCloth is not a
>> class (TypeError) from
>> /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
>> `gem_original_require' from
>> /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' from
>> /tmp/temp_textmate.kg1pi6:6
> 
> Jut a guess, but it's looking like the code is requiring the redcloth gem
> but you haven't actually installed it. m.
> 
> -- 
> matt neuburg, phd = matt at tidbits.com, <http://www.tidbits.com/matt/>
> A fool + a tool + an autorelease pool = cool!
> AppleScript: the Definitive Guide - Second Edition!
> http://www.tidbits.com/matt/default.html#applescriptthings
> 
> 
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate




More information about the textmate mailing list