Take a flyer to a tall ledge where the rex can't hit you and just tranq it. If you need to lead it to a ledge make sure your on land, they won't try to eat anything flying.

More Rex Taming & KO Tips