Creating a gem from a generator

I’ve got a generator that currently resides as a plugin… it’s going to be used on lots of applications and my thought is that the idea of distributing it as a plugin is kinda silly. I can’t seem to find any resources related to this though/// Dr Nic has a really neat generator that makes a skeleton, but I don’t quite see how I can use that for a generator (since there really are no files to include in the lib/ folder.

I’d appreciate a nudge in the right direction. This has a generator script and the templates folder… that’s it. Thanks in advance!