Ben,

Sean's suggestion worked for me in an instance of Radiant 0.6.0.

Added...
config.load_paths.unshift "/usr/local/lib/ruby/gems/1.8/gems/ RedCloth-3.290/lib/"

inside the Radiant::Initializer block.  Your gem path will vary.


On Apr 22, 2008, at 11:15 AM, Sean Cribbs wrote:

Ben,

Try adding the path to the gem to the front of config.load_paths in environment.rb. Example:

config.load_paths.unshift "/path/to/gems/RedCloth-3.2.9.0/lib"

Sean

Ben Morrow wrote:
Jason Garber wrote:


Well, if it's not working with the 3.290 gem, it won't work any
better with 4.0.

Sorry for the confusion, I meant that line breaks DO work with the 3.29 gem. However, I couldn't get Radiant to use 3.29.

After using the hack you posted my Radiant console still reports RedCloth's version is 3.04.



_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to