B.G 6.37
arjuna uvāca
ayatiḥ śraddhayopeto yogāccalitamānasaḥ। aprāpya yogasaṁsiddhiṁ kāṁ gatiṁ kr̥ṣṇa gacchati ॥37॥
Arjuna said,
O Krishna, what is the destination of the person who, although endowed with faith, does not have perseverance, whose mind deviates from yoga and thus fails to achieve perfection in yoga?
Gīta Bhāshya 6.37
'ayati' - one who is not endeavoring.
ayatiḥ aprayatnaḥ ॥37॥
The word 'ayati' refers to one who is without effort or not endeavoring.
Gīta Tātparya 6.37
'ayati' - one who is not endeavoring. The word 'yoga' though, generally refers to means, here it is intended to convey specifically meditation practice.
ayatiḥ aprayatnaḥ। 'prayatnād yatamānastu' iti vākyaśeṣāt। yogaśabdasya upāyārthatvepi atra upāyaviśeṣa eva dhyāna yogādiḥ vivakṣita iti na virodhaḥ॥ 37 ॥
The word 'ayati' refers to one who is without effort or not endeavoring. From the reminder of the sentence, we can infer "though striving by effort". Although the term "yoga" generally implies a means, here it specifically refers to a particular means such as meditation, and as such, there is no contradiction.