From snk at gna.org Fri Aug 1 01:23:50 2008
From: snk at gna.org (Suraj N. Kurapati)
Date: Thu, 31 Jul 2008 22:23:50 -0700
Subject: RedCloth 4.0 - paragraphs inside list items
Message-ID: <48929DE6.5000209@gna.org>
Hello,
In the previous 3.0.4 version, I was able to create multiple
paragraphs inside a list item by indenting the secondary paragraphs
by two spaces like this:
* First para.
Second para.
Third para.
In the new 4.0 version, only the first paragraph is put inside the
list item. I am forced to write HTML (yuck!) as a work-around:
* First para.
Second para.
Third para.
Is there a directive like the backslash (\) in Ruby which tells the
parser to treat the next line of input as continuation of the
current line?
* First para.
\
Second para.
\
Third para.
Thanks for your consideration.
From lists at ruby-forum.com Sat Aug 2 06:58:27 2008
From: lists at ruby-forum.com (Jonathan Stott)
Date: Sat, 2 Aug 2008 12:58:27 +0200
Subject: Line break bug?
In-Reply-To: <2724755D-2F8D-46A5-BBFD-7E0F0DB5F2D1@3dbyggeri.dk>
References: <3CDBCF03-496F-41FB-92A2-9C386BF853FD@3dbyggeri.dk>
<634CB19E-2848-425A-85BA-A842337104FB@jasongarber.com>
<7A189B3F-24EF-42EF-B4C2-EC3796516DA4@3dbyggeri.dk>
<2724755D-2F8D-46A5-BBFD-7E0F0DB5F2D1@3dbyggeri.dk>
Message-ID:
To flip this bug discussion on its head.
I can understand the desire to conform to the Textile standard, but I
actually find the (old) red cloth's behaviour far more useful in 99% of
cases.
I very rarely type out addresses, or anything which leads me to care
about the exact positioning of my end of lines, except for code samples,
already handled by bc. On the other hand, what I do end up doing a lot
is storing pages written in textile in VCS systems, so that they can be
worked on easily by collaborators, or just to track them over time. And
for this purpose, being able to type my paragraphs in 80 or 90 character
lines, but have them display as a normal HTML paragraph is far more
valuable. Merges become easier and diffs (Did they add a comma or a
sentence?) are much more comprehensible. It far out outweighs the
inconvenience of having to type
a few times for an address.
Would it be possible to add an option to disable the over enthusiastic
line-breaking?
--
Posted via http://www.ruby-forum.com/.
From jg at jasongarber.com Mon Aug 4 09:40:57 2008
From: jg at jasongarber.com (Jason Garber)
Date: Mon, 4 Aug 2008 09:40:57 -0400
Subject: Line break bug?
In-Reply-To:
References: <3CDBCF03-496F-41FB-92A2-9C386BF853FD@3dbyggeri.dk>
<634CB19E-2848-425A-85BA-A842337104FB@jasongarber.com>
<7A189B3F-24EF-42EF-B4C2-EC3796516DA4@3dbyggeri.dk>
<2724755D-2F8D-46A5-BBFD-7E0F0DB5F2D1@3dbyggeri.dk>
Message-ID: <7B80F166-DE12-47D3-BC84-5D1088F4250B@jasongarber.com>
There is an option. just set the hard_breaks accessor of your
RedCloth object to false.
On Aug 2, 2008, at 6:58 AM, Jonathan Stott wrote:
> To flip this bug discussion on its head.
>
> I can understand the desire to conform to the Textile standard, but I
> actually find the (old) red cloth's behaviour far more useful in 99%
> of
> cases.
>
> I very rarely type out addresses, or anything which leads me to care
> about the exact positioning of my end of lines, except for code
> samples,
> already handled by bc. On the other hand, what I do end up doing a
> lot
> is storing pages written in textile in VCS systems, so that they can
> be
> worked on easily by collaborators, or just to track them over time.
> And
> for this purpose, being able to type my paragraphs in 80 or 90
> character
> lines, but have them display as a normal HTML paragraph is far more
> valuable. Merges become easier and diffs (Did they add a comma or a
> sentence?) are much more comprehensible. It far out outweighs the
> inconvenience of having to type
a few times for an address.
>
> Would it be possible to add an option to disable the over enthusiastic
> line-breaking?
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Redcloth-upwards mailing list
> Redcloth-upwards at rubyforge.org
> http://rubyforge.org/mailman/listinfo/redcloth-upwards
From lists at ruby-forum.com Wed Aug 6 03:51:06 2008
From: lists at ruby-forum.com (Jonathan Stott)
Date: Wed, 6 Aug 2008 09:51:06 +0200
Subject: Line break bug?
In-Reply-To: <7B80F166-DE12-47D3-BC84-5D1088F4250B@jasongarber.com>
References: <3CDBCF03-496F-41FB-92A2-9C386BF853FD@3dbyggeri.dk>
<634CB19E-2848-425A-85BA-A842337104FB@jasongarber.com>
<7A189B3F-24EF-42EF-B4C2-EC3796516DA4@3dbyggeri.dk>
<2724755D-2F8D-46A5-BBFD-7E0F0DB5F2D1@3dbyggeri.dk>
<7B80F166-DE12-47D3-BC84-5D1088F4250B@jasongarber.com>
Message-ID: <432d2700be97c02c445510b3fb2323f5@ruby-forum.com>
Jason Garber wrote:
> There is an option. just set the hard_breaks accessor of your
> RedCloth object to false.
Ah, I wasn't aware of this. Thanks :)
--
Posted via http://www.ruby-forum.com/.
From jg at jasongarber.com Fri Aug 15 10:20:48 2008
From: jg at jasongarber.com (Jason Garber)
Date: Fri, 15 Aug 2008 10:20:48 -0400
Subject: 4.0.2 Released
Message-ID:
This release fixes all the bugs that were reported since the release
of RedCloth 4.0.1. It includes a workaround for a Rails 2.1 problem
with unpacked gems, proper typographic characters for feet and inches,
and improvements to superscript, subscript, and link alias handling
that are more in line with Textile 2.
CHANGELOG
========
* Fixed link references/aliases not being recognized when they include
hyphens. #36
* Dimensions in feet and inches use correct typographic characters. #25
* Limit overzealous superscript and subscript. Sup/sub phrases must
be surrounded by spaces or square brackets, as in Textile 2. #35
* Fixed HTML before tables causing the opening table tag to be emitted
twice. #33
* Cleaned up unused code that was causing a warning. #28
* Workaround for Rails 2.1 bug that loads a previous version of
RedCloth before loading the unpacked gem. Has since been fixed in
edge rails. #30
* Added a RedCloth::VERSION.to_s and .== methods so you can puts and
compare RedCloth::VERSION just like in previous RedCloth releases. #26
* Fixed HTML block ending tags terminating blocks prematurely. #22
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From geraldbauer2007 at gmail.com Sat Aug 16 02:35:59 2008
From: geraldbauer2007 at gmail.com (Gerald Bauer)
Date: Fri, 15 Aug 2008 23:35:59 -0700
Subject: RedCloth Mini-Cookbook Started: How Tos, Recipes, F.A.Qs
Message-ID: <7e7cb8940808152335j25e4237o4594b5d7e5d61321@mail.gmail.com>
Hello,
I've started a RedCloth mini cookbook collecting how-tos, recipes and F.A.Qs.
How-tos in the mini cookbook so far include:
o How to use the redcloth command line tool
o How to turn off/disable hard line breaks
o How to turn off span caps
o How to extend Textile with your own rules
o How to extend Textile with your own tags
o How to find out more (References)
More @ http://rubybook.ca/2008/08/16/redcloth
Cheers.
--
Gerald Bauer - Internet Professional - http://geraldbauer.ca
From jason at hybd.net Sat Aug 16 11:13:57 2008
From: jason at hybd.net (Jase)
Date: Sat, 16 Aug 2008 16:13:57 +0100
Subject: RedCloth Mini-Cookbook Started: How Tos, Recipes, F.A.Qs
In-Reply-To: <7e7cb8940808152335j25e4237o4594b5d7e5d61321@mail.gmail.com>
References: <7e7cb8940808152335j25e4237o4594b5d7e5d61321@mail.gmail.com>
Message-ID: <1218899637.1512.19.camel@jase-ubuntu>
Interesting you should mention this. I was thinking about combining S5
and Redcloth the other week and did a post on my blog about it, only to
find near the end of writing my post (when I was searching for another
reference site) that you covered something similar with your S9 work
(There is a link back to your slideshow gem at the bottom of the post I
made).
My approach was slightly different, as I was defining slides /
annotations using the RedCloth 4.x custom block tag / formatter system.
For those who are interested, the post is at
http://jasonearl.com/blog/creating_s5_redcloth_presentations/index.html
I've also covered a very basic how to on using LaTeX at
http://jasonearl.com/blog/latex_pdf_formatting_in_redcloth4/index.html
Feel free to link to it if you want (or copy and paste the content).
Unfortunately I need to get round to making a lightweight comment system
on the blog as it's currently published to static markup (because I
don't the overhead of Rails. I'll probably make a Thin Serverlet, or
Camping/Merb system for comments). If anyone wants to give any feedback,
just mail me :-)
On a side note, congrats btw Jason for the 4.0.2 release :-)
Jase.
On Fri, 2008-08-15 at 23:35 -0700, Gerald Bauer wrote:
> Hello,
>
> I've started a RedCloth mini cookbook collecting how-tos, recipes and F.A.Qs.
>
> How-tos in the mini cookbook so far include:
>
> o How to use the redcloth command line tool
> o How to turn off/disable hard line breaks
> o How to turn off span caps
> o How to extend Textile with your own rules
> o How to extend Textile with your own tags
> o How to find out more (References)
>
> More @ http://rubybook.ca/2008/08/16/redcloth
>
> Cheers.
>
From geraldbauer2007 at gmail.com Sat Aug 16 12:49:44 2008
From: geraldbauer2007 at gmail.com (Gerald Bauer)
Date: Sat, 16 Aug 2008 09:49:44 -0700
Subject: RedCloth Mini-Cookbook Started: How Tos, Recipes, F.A.Qs
In-Reply-To: <1218899637.1512.19.camel@jase-ubuntu>
References: <7e7cb8940808152335j25e4237o4594b5d7e5d61321@mail.gmail.com>
<1218899637.1512.19.camel@jase-ubuntu>
Message-ID: <7e7cb8940808160949w8c33e98v20d8025773bd1355@mail.gmail.com>
Hello Jase,
Wow. Great blog postings about S5 and creating PDFs with RedCloth. I
will add some new entries to the RedCloth Coobook with
references/links to your posts.
Some minor update:
> There is a slideshow gem on RubyForge that works in a similar way. However this is using the old 3.x version of RedCloth.
I've updated the slideshow gem to use the latest and greates
RedCloth gem shortly after the official release (sometime in early
August).
Also note that I've started a mailing list/forum to encourage
sharing of insight, code, etc. for web slide show projects (using
Textile). For example, besides the slideshow (S9) gem there's also the
CodeX gem that uses S5 and Textile started by Pragmatic Dave and
packaged using rubyigen (the Ruby Generator Framework) by Dr. Nic.
You're invited to join @ http://groups.google.com/group/webslideshow
Cheers.
PS: You can create S5 presentations with the slideshow gem using the
-s5 switch e.g.
$ slideshow -s5 microformats
If you don't flip the s5 switch you'll get a S6 slideshow (that's
basically a modern version/rewrite of S5 in jQuery).
Here's an example: http://slideshow.rubyforge.org/s5/jquery.html
And here's the Textile source:
http://slideshow.rubyforge.org/svn/samples/jquery.textile
--
Gerald Bauer - Internet Professional - http://geraldbauer.ca
From jason at hybd.net Sat Aug 16 17:33:29 2008
From: jason at hybd.net (Jase)
Date: Sat, 16 Aug 2008 22:33:29 +0100
Subject: RedCloth Mini-Cookbook Started: How Tos, Recipes, F.A.Qs
In-Reply-To: <7e7cb8940808160949w8c33e98v20d8025773bd1355@mail.gmail.com>
References: <7e7cb8940808152335j25e4237o4594b5d7e5d61321@mail.gmail.com>
<1218899637.1512.19.camel@jase-ubuntu>
<7e7cb8940808160949w8c33e98v20d8025773bd1355@mail.gmail.com>
Message-ID: <1218922409.1512.21.camel@jase-ubuntu>
On Sat, 2008-08-16 at 09:49 -0700, Gerald Bauer wrote:
> Hello Jase,
>
> Wow. Great blog postings about S5 and creating PDFs with RedCloth. I
> will add some new entries to the RedCloth Coobook with
> references/links to your posts.
>
> Some minor update:
>
> > There is a slideshow gem on RubyForge that works in a similar way. However this is using the old 3.x version of RedCloth.
K, I'll change that, I just saw the release date being before RedCloth
4.x I think assumed it was 3.x
> I've updated the slideshow gem to use the latest and greates
> RedCloth gem shortly after the official release (sometime in early
> August).
>
> Also note that I've started a mailing list/forum to encourage
> sharing of insight, code, etc. for web slide show projects (using
> Textile). For example, besides the slideshow (S9) gem there's also the
> CodeX gem that uses S5 and Textile started by Pragmatic Dave and
> packaged using rubyigen (the Ruby Generator Framework) by Dr. Nic.
> You're invited to join @ http://groups.google.com/group/webslideshow
I've joined. I'll need to have a look at CodeX at some point myself.
> Cheers.
>
> PS: You can create S5 presentations with the slideshow gem using the
> -s5 switch e.g.
>
> $ slideshow -s5 microformats
>
> If you don't flip the s5 switch you'll get a S6 slideshow (that's
> basically a modern version/rewrite of S5 in jQuery).
>
> Here's an example: http://slideshow.rubyforge.org/s5/jquery.html
> And here's the Textile source:
> http://slideshow.rubyforge.org/svn/samples/jquery.textile
>
From jason at hybd.net Sat Aug 16 17:54:12 2008
From: jason at hybd.net (Jase)
Date: Sat, 16 Aug 2008 22:54:12 +0100
Subject: 4.0.2 Released
In-Reply-To:
References:
Message-ID: <1218923652.1512.24.camel@jase-ubuntu>
Congrats, the git master seems to still say 4.0.1 in the version.rb
(Updated it in the pull request I sent you for Latex images)
Jase
On Fri, 2008-08-15 at 10:20 -0400, Jason Garber wrote:
> This release fixes all the bugs that were reported since the release
> of RedCloth 4.0.1. It includes a workaround for a Rails 2.1 problem
> with unpacked gems, proper typographic characters for feet and inches,
> and improvements to superscript, subscript, and link alias handling
> that are more in line with Textile 2.
>
> CHANGELOG
> ========
> * Fixed link references/aliases not being recognized when they include hyphens. #36
>
> * Dimensions in feet and inches use correct typographic characters. #25
>
> * Limit overzealous superscript and subscript. Sup/sub phrases must be surrounded by spaces or square brackets, as in Textile 2. #35
>
> * Fixed HTML before tables causing the opening table tag to be emitted twice. #33
>
> * Cleaned up unused code that was causing a warning. #28
>
> * Workaround for Rails 2.1 bug that loads a previous version of RedCloth before loading the unpacked gem. Has since been fixed in edge rails. #30
>
> * Added a RedCloth::VERSION.to_s and .== methods so you can puts and compare RedCloth::VERSION just like in previous RedCloth releases. #26
>
> * Fixed HTML block ending tags terminating blocks prematurely. #22
> _______________________________________________
> Redcloth-upwards mailing list
> Redcloth-upwards at rubyforge.org
> http://rubyforge.org/mailman/listinfo/redcloth-upwards
From jg at jasongarber.com Mon Aug 18 12:27:28 2008
From: jg at jasongarber.com (Jason Garber)
Date: Mon, 18 Aug 2008 12:27:28 -0400
Subject: [RedCloth #37] RedCloth 4.0.2 does not initialize in Rails 2.1
In-Reply-To: <48a5a124e1267_181f15ab5ae7befc15e@xc88-s00014.tmail>
References: <48a5a124e1267_181f15ab5ae7befc15e@xc88-s00014.tmail>
Message-ID: <7719DAFC-5B5D-4EA0-BE67-9308E9C1842C@jasongarber.com>
A number of you noticed a problem in RedCloth 4.0.2, released last
week, where it didn't work with Rails 2.1 unless you explicitly
specified the lib file in environment.rb. The bug was introduced as I
was trying to work around a smaller problem--a bug in Rails 2.1 (#320
- textilize helper loading RedCloth before gem dependencies) which has
since been fixed in edge rails. My apologies to those who ran into
this embarrassing issue and thanks to those who reported it. RedCloth
4.0.3 fixes this, so you can simply use config.gem 'RedCloth' again.
Jason
On Aug 15, 2008, at 11:30 AM, Lighthouse wrote:
> // Add your reply above here
> ==================================================
> soleone (at gmail) updated this ticket at August 15, 2008 15:30
>
> It seems that the fix for case-insensitive loading of RedCloth does
> not work.
>
> I have a Rails 2.1.0 app, and when I try to require RedCloth like
> this in my environment.rb:
>
> @@@ ruby
> config.gem 'RedCloth'
> @@@
>
> It throws the following exception after running the server:
>
> /Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/active_support/
> dependencies.rb:275:in `load_missing_constant': uninitialized
> constant RedCloth::TextileDoc (NameError)
> from /Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/
> active_support/dependencies.rb:467:in `const_missing'
> from /Library/Ruby/Gems/1.8/gems/RedCloth-4.0.2/lib/RedCloth.rb:
> 17:in `new'
> from /Users/soleone/workspace/rails/rubyflow/config/environment.rb:68
>
>
>
> But when I change the require statement in environment.rb to:
>
> @@@ ruby
> config.gem 'RedCloth', :lib => 'redcloth'
> @@@
>
> Then it works fine.
> --------------------------------------------------------------------------------
>
> State: new
> Milestone: 4.0.3
> View this ticket online: http://jgarber.lighthouseapp.com/projects/13054/tickets/37-redcloth-4-0-2-does-not-initialize-in-rails-2-1
> .
> Stop being notified of this ticket's changes: http://jgarber.lighthouseapp.com/projects/13054/tickets/37-redcloth-4-0-2-does-not-initialize-in-rails-2-1/watch
> Update your Profile: http://jgarber.lighthouseapp.com/profile
From jason at hybd.net Mon Aug 18 12:38:28 2008
From: jason at hybd.net (Jase)
Date: Mon, 18 Aug 2008 17:38:28 +0100
Subject: [RedCloth #37] RedCloth 4.0.2 does not initialize in Rails 2.1
In-Reply-To: <7719DAFC-5B5D-4EA0-BE67-9308E9C1842C@jasongarber.com>
References: <48a5a124e1267_181f15ab5ae7befc15e@xc88-s00014.tmail>
<7719DAFC-5B5D-4EA0-BE67-9308E9C1842C@jasongarber.com>
Message-ID: <1219077508.22589.13.camel@jase-laptop>
I assume you can still use the old :lib way as well? (as that is what
I'm doing, in fact i didn't realise it was even a bug because there are
so many gems that seem to need explicit :lib settings anyway).
Jase
On Mon, 2008-08-18 at 12:27 -0400, Jason Garber wrote:
> A number of you noticed a problem in RedCloth 4.0.2, released last
> week, where it didn't work with Rails 2.1 unless you explicitly
> specified the lib file in environment.rb. The bug was introduced as I
> was trying to work around a smaller problem--a bug in Rails 2.1 (#320
> - textilize helper loading RedCloth before gem dependencies) which has
> since been fixed in edge rails. My apologies to those who ran into
> this embarrassing issue and thanks to those who reported it. RedCloth
> 4.0.3 fixes this, so you can simply use config.gem 'RedCloth' again.
>
> Jason
>
> On Aug 15, 2008, at 11:30 AM, Lighthouse wrote:
>
> > // Add your reply above here
> > ==================================================
> > soleone (at gmail) updated this ticket at August 15, 2008 15:30
> >
> > It seems that the fix for case-insensitive loading of RedCloth does
> > not work.
> >
> > I have a Rails 2.1.0 app, and when I try to require RedCloth like
> > this in my environment.rb:
> >
> > @@@ ruby
> > config.gem 'RedCloth'
> > @@@
> >
> > It throws the following exception after running the server:
> >
> > /Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/active_support/
> > dependencies.rb:275:in `load_missing_constant': uninitialized
> > constant RedCloth::TextileDoc (NameError)
> > from /Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/
> > active_support/dependencies.rb:467:in `const_missing'
> > from /Library/Ruby/Gems/1.8/gems/RedCloth-4.0.2/lib/RedCloth.rb:
> > 17:in `new'
> > from /Users/soleone/workspace/rails/rubyflow/config/environment.rb:68
> >
> >
> >
> > But when I change the require statement in environment.rb to:
> >
> > @@@ ruby
> > config.gem 'RedCloth', :lib => 'redcloth'
> > @@@
> >
> > Then it works fine.
> > --------------------------------------------------------------------------------
> >
> > State: new
> > Milestone: 4.0.3
> > View this ticket online: http://jgarber.lighthouseapp.com/projects/13054/tickets/37-redcloth-4-0-2-does-not-initialize-in-rails-2-1
> > .
> > Stop being notified of this ticket's changes: http://jgarber.lighthouseapp.com/projects/13054/tickets/37-redcloth-4-0-2-does-not-initialize-in-rails-2-1/watch
> > Update your Profile: http://jgarber.lighthouseapp.com/profile
>
> _______________________________________________
> Redcloth-upwards mailing list
> Redcloth-upwards at rubyforge.org
> http://rubyforge.org/mailman/listinfo/redcloth-upwards
From jg at jasongarber.com Mon Aug 18 13:59:47 2008
From: jg at jasongarber.com (Jason Garber)
Date: Mon, 18 Aug 2008 13:59:47 -0400
Subject: [RedCloth #37] RedCloth 4.0.2 does not initialize in Rails 2.1
In-Reply-To: <1219077508.22589.13.camel@jase-laptop>
References: <48a5a124e1267_181f15ab5ae7befc15e@xc88-s00014.tmail>
<7719DAFC-5B5D-4EA0-BE67-9308E9C1842C@jasongarber.com>
<1219077508.22589.13.camel@jase-laptop>
Message-ID: <0D084846-C764-4828-BD6A-1ED5CB004D19@jasongarber.com>
Yes, absolutely.
On Aug 18, 2008, at 12:38 PM, Jase wrote:
> I assume you can still use the old :lib way as well? (as that is what
> I'm doing, in fact i didn't realise it was even a bug because there
> are
> so many gems that seem to need explicit :lib settings anyway).
>
> Jase
>
> On Mon, 2008-08-18 at 12:27 -0400, Jason Garber wrote:
>> A number of you noticed a problem in RedCloth 4.0.2, released last
>> week, where it didn't work with Rails 2.1 unless you explicitly
>> specified the lib file in environment.rb. The bug was introduced
>> as I
>> was trying to work around a smaller problem--a bug in Rails 2.1 (#320
>> - textilize helper loading RedCloth before gem dependencies) which
>> has
>> since been fixed in edge rails. My apologies to those who ran into
>> this embarrassing issue and thanks to those who reported it.
>> RedCloth
>> 4.0.3 fixes this, so you can simply use config.gem 'RedCloth' again.
>>
>> Jason
>>
>> On Aug 15, 2008, at 11:30 AM, Lighthouse wrote:
>>
>>> // Add your reply above here
>>> ==================================================
>>> soleone (at gmail) updated this ticket at August 15, 2008 15:30
>>>
>>> It seems that the fix for case-insensitive loading of RedCloth does
>>> not work.
>>>
>>> I have a Rails 2.1.0 app, and when I try to require RedCloth like
>>> this in my environment.rb:
>>>
>>> @@@ ruby
>>> config.gem 'RedCloth'
>>> @@@
>>>
>>> It throws the following exception after running the server:
>>>
>>> /Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/active_support/
>>> dependencies.rb:275:in `load_missing_constant': uninitialized
>>> constant RedCloth::TextileDoc (NameError)
>>> from /Library/Ruby/Gems/1.8/gems/activesupport-2.1.0/lib/
>>> active_support/dependencies.rb:467:in `const_missing'
>>> from /Library/Ruby/Gems/1.8/gems/RedCloth-4.0.2/lib/RedCloth.rb:
>>> 17:in `new'
>>> from /Users/soleone/workspace/rails/rubyflow/config/
>>> environment.rb:68
>>>
>>>
>>>
>>> But when I change the require statement in environment.rb to:
>>>
>>> @@@ ruby
>>> config.gem 'RedCloth', :lib => 'redcloth'
>>> @@@
>>>
>>> Then it works fine.
>>> --------------------------------------------------------------------------------
>>>
>>> State: new
>>> Milestone: 4.0.3
>>> View this ticket online: http://jgarber.lighthouseapp.com/projects/13054/tickets/37-redcloth-4-0-2-does-not-initialize-in-rails-2-1
>>> .
>>> Stop being notified of this ticket's changes: http://jgarber.lighthouseapp.com/projects/13054/tickets/37-redcloth-4-0-2-does-not-initialize-in-rails-2-1/watch
>>> Update your Profile: http://jgarber.lighthouseapp.com/profile
>>
>> _______________________________________________
>> Redcloth-upwards mailing list
>> Redcloth-upwards at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/redcloth-upwards
>
> _______________________________________________
> Redcloth-upwards mailing list
> Redcloth-upwards at rubyforge.org
> http://rubyforge.org/mailman/listinfo/redcloth-upwards
From jg at jasongarber.com Fri Aug 22 10:37:39 2008
From: jg at jasongarber.com (Jason Garber)
Date: Fri, 22 Aug 2008 10:37:39 -0400
Subject: JRuby and RedCloth 4.0.x
In-Reply-To:
References:
Message-ID: <1BCF3C3C-BDAE-4DB7-BF70-0FB4419B4C06@jasongarber.com>
To add JRuby to the gem, someone has to write the Java that works like
the existing C. I don't have the time or inclination to write it, but
I'm open to someone else writing it. There have been several people
on our redcloth-upwards mailing list talking about it, but so far no
one has taken up the task.
Jason
On Aug 22, 2008, at 8:43 AM, king the wrote:
> Hi,
>
> The last version of RedCloth (4.0.x) isn't compatible with JRuby but
> RedCloth 3.0.4 work.
>
> Could you add JRuby compatibility to your Gem ?
>
> For more details, I've discuss about this problem with drnic here > http://groups.google.com/group/javascript-project-generator/browse_thread/thread/60ea45d27a5e0f3a
>
> Thanks for your works and your times.
>
> PS: Sorry for my bad English i'm French.
>
> Avec Windows Live Messenger restez en contact avec tous vos amis !
> T?l?chargez Messenger, c'est gratuit !
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From william.full.moon at gmail.com Sat Aug 23 10:13:12 2008
From: william.full.moon at gmail.com (* William)
Date: Sun, 24 Aug 2008 00:13:12 +1000
Subject: JRuby and RedCloth 4.0.x
In-Reply-To: <1BCF3C3C-BDAE-4DB7-BF70-0FB4419B4C06@jasongarber.com>
References:
<1BCF3C3C-BDAE-4DB7-BF70-0FB4419B4C06@jasongarber.com>
Message-ID: <9e03c3c60808230713x30fd1835l3a4e48d75eecf613@mail.gmail.com>
Hi Gang,
I'm an interested lurker -- However I see this as a bit of a reoccurring
issue. In my distant past, I had a cross Java = C++ project to do and my
mate and I came up with a pretty useful solution -- Which I can suggest
here.
In our case, we generated the C++ code from the Java source code using awk.
I see no reason why a JRuby project couldn't be established to scan C or C++
and generate Java in the same spirit. Honestly It didn't take long at all
using gawk. I imagine it would be slightly faster with Ruby.
Also that apporach would allow other tools to do cross-over in a more
effective way.
Aloha,
Will
2008/8/23 Jason Garber
> To add JRuby to the gem, someone has to write the Java that works like the
> existing C. I don't have the time or inclination to write it, but I'm open
> to someone else writing it.
>
--
aloha,
[ask me about marketing your technology] \_w_/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: