Using rails Generators for non-RoR

I realized that the rails command could be used very effectiely for non
RoR apps, and, with a little tweaking, even nonRuby apps. Anyone give
this a try?