both suggestions seem to fix the boot problem but now i don't see the new filter in the drop down. although i do see the extension listed on the extensions page.
On Mon, Jan 25, 2010 at 1:05 PM, Sean Cribbs <[email protected]> wrote: > Actually, I imagine :lib => false would do the trick -- gem requirements > are loaded before extensions. As long as your extension file explicitly > loads that text filter, you should be fine. > > Sean > > On 1/25/10 1:51 PM, Jim Gay wrote: >> On Jan 25, 2010, at 1:08 PM, john muhl wrote: >> >> >>> i hope someone can point out what stupid thing i've done in my first >>> attempt to package an extension as a gem. >>> >>> http://gist.github.com/286072 >>> >>> the extension works fine as a regular extension. >>> i'm trying this on the edge (current as of about an hour ago). >>> >> It's probably a load order problem. >> Radiant adds the method "to_name" to String and perhaps it doesn't exist >> when KramdownFilter is loaded. >> >> http://github.com/radiant/radiant/blob/master/lib/plugins/string_extensions/lib/string_extensions.rb#L10-L12 >> >> Perhaps you can require that file in the extension, or maybe Radiant needs >> to address this by changing the load order ( since extensions as gems is the >> future). >> >> -Jim >> >> Jim Gay >> http://www.saturnflyer.com >> _______________________________________________ >> Radiant mailing list >> Post: [email protected] >> Search: http://radiantcms.org/mailing-list/search/ >> List Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> Radiant: http://radiantcms.org >> Extensions: http://ext.radiantcms.org >> >> > > _______________________________________________ > Radiant mailing list > Post: [email protected] > Search: http://radiantcms.org/mailing-list/search/ > List Site: http://lists.radiantcms.org/mailman/listinfo/radiant > Radiant: http://radiantcms.org > Extensions: http://ext.radiantcms.org > _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
