The sentence that has a gerund phrase functioning as a direct object is:
"Rock climbers enjoy ascending the monolith El Capitan."
In this sentence, "ascending the monolith El Capitan" is a gerund phrase that serves as the direct object of the verb "enjoy."