Let me preface this by saying that I haven't used the RadiantOnRails
extension. However, I have struggled with trying to get generators
working in extensions. Your main problem is going to be that the
Radiant script/generate resets the generator source list, overriding
the normal rails behavior. I don't have the bit of code on me right
now, but if you want to re-enable generators in extensions (or
anywhere other than #{RADIANT_ROOT}/lib/generators) you'll probably
have to manually edit script/generate. My recommendation is to copy
what's there already and substitute in the glob you need.
Hope this helps,
Andrew
On 11/10/07, Jeff Dean <[EMAIL PROTECTED]> wrote:
> I've got the latest revision of Radiant from trunk (r596) and I also
> downloaded and configured the RadiantOnRails extension (very slick, by
> the way). I'd like to be able to use script/generate for the main
> rails app, but it's not recognizing the standard generators.
>
> Does anyone know how to use script/generate migration etc... in an app
> that's based on Radiant?
> _______________________________________________
> 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