update gem file fix pg connection