Make gem from project

I have a complete project, and i want to deploy it as a gem, ou
something similar,

whats the best gem generator

I use a database mysql, is it possible, by using a single command to
install the gem, the database is created, and configuration done
(database.yml set automaticly for the user database, with migration of
tables done to the dabase)