Creating your own generator

I created a controller for Maxmind’s GeoIP service which worked fine.
Now I would like to create a generator for it so I can send it to
other developers so they can install it and test it. Steps I
followed:

  • create the generator class
  • followed the template directory structure.
  • placed the directory in what seems like the place the generate
    command would find it. But no luck.

Any help - I would really like to be able to push out re-usable code
for people. Maybe I should think of using plugins?

I am a noob who loves rails.
David