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
