Assuming the rail is straight and if it's only a few tenths here or there you could use a thin layer of epoxy.