If you're "run out of town" then you are chased away from your location, either aggressively or just by people's treatment of you. I have never heard "on a rail" added to the end of it.
Criminals or other undesirables used to be "run out of town" years ago. Groups of law-abiding citizens would get together and literally chase the person out of the town and it was usually clear that the person was not welcome to return.