Adjusting GEM file to support Postgre