The LT FF plugin (probably the latest version) highlights ‘recommend to gain…’ the following sence
Which scientific literature would you recommend to gain a better understanding of the subject matter.
I understand that ‘recommend’ also is a verb that sometimes is followed by the gerund form, e.g. He recommended reading the book before seeing the movie. (example from Oxford Ad. Lerners 8th ed.), but not in this case.