Script to generate database yml for rails projects