init rails and create dbs