From arigold at mac.com Wed Nov 7 09:01:33 2007 From: arigold at mac.com (ari gold) Date: Wed, 07 Nov 2007 06:01:33 -0800 Subject: RedCloth startup? Message-ID: <1AA65E12-0116-1000-A83F-158C4D954F82-Webmail-10017@mac.com> hello hello.. as i am both developing and using my rails app on my laptop and as i shut it down at least daily (at night - to conserve energy), i had put the ruby startup server command (ruby script/server -d) in a cronjob set to reboot. that way, by the time i opened my browser, rails was already running. presto. problem is, now that im using redcloth (via acts_as_textiled), i get an error on startup: uninitialized constant Err::Acts::Textiled::ClassMethods::RedCloth i can get around this by rebooting the server (for now i've simply gotten rid of the cronjob 'cause its easier to just start the server than to kill the old process and then start it). since that works - rebooting the server - it leads me to believe that the server has started before RedCloth has started, although im surprised that RedCloth needs to 'start'. although maybe its acts_as_textiled? but i'd be even more surprised if acts_as_textiled needed to 'start'. any ideas? is there a startup process for RedCloth? im about to start poking around the code but i thought i'd ask first. thanks ahead of time! ~ari From dnogues_mc at hotmail.com Fri Nov 23 09:02:03 2007 From: dnogues_mc at hotmail.com (Daniel Nogues) Date: Fri, 23 Nov 2007 14:02:03 +0000 Subject: SuperRedCloth inserting
Message-ID:
I maintain a web application frozen to version Ruby 1.8.6 and RedCloth 3.0.4
Whenever I insert a newline followed by a white space, SuperRedCloth, wraps the text with tags.
Say for example I write
###############
Hi
This is me
###############
This piece of text gets translated to
Hi
This is me
rather than
Hi
This is me
This doesn't correspond to the specifications of Textile as shown on the link below
http://hobix.com/textile/
Is this a bug of RedCloth version 3.0.4?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/redcloth-upwards/attachments/20071123/5864aaae/attachment.html
From jg at jasongarber.com Mon Nov 26 15:54:21 2007
From: jg at jasongarber.com (Jason Garber)
Date: Mon, 26 Nov 2007 15:54:21 -0500
Subject: SuperRedCloth inserting
In-Reply-To:
References:
Message-ID:
I'd call it a bug, but I think in RedCloth 3.0.4 it's a "feature."
That version was trying to be compatible with both Textile and
Markdown. Indenting a block of code is a Markdown style.
RedCloth 4.0 should be better.
On Nov 23, 2007, at 9:02 AM, Daniel Nogues wrote:
> I maintain a web application frozen to version Ruby 1.8.6 and
> RedCloth 3.0.4
>
> Whenever I insert a newline followed by a white space,
> SuperRedCloth, wraps the text with tags.
>
> Say for example I write
>
> ###############
> Hi
>
> This is me
> ###############
>
> This piece of text gets translated to
>
> Hi
This is me
>
> rather than
>
> Hi
This is me
>
> This doesn't correspond to the specifications of Textile as shown
> on the link below
>
> http://hobix.com/textile/
>
> Is this a bug of RedCloth version 3.0.4?
>
> _______________________________________________
> Redcloth-upwards mailing list
> Redcloth-upwards at rubyforge.org
> http://rubyforge.org/mailman/listinfo/redcloth-upwards