Add nokogiri above pg to resolve libxml bug