modified gem file to use pg instead of sqlite