groups gems for db into production and dev