Rewrite generating gemfiles to transformers