A HISTORIC country pub near Ripon in North Yorkshire has closed.