Answer: gustar + infinitive is saying "___ like(s) to ____", whereas gustar + noun is saying "___ like(s) ____". Hope this helps :)
Explanation: Examples -- "Me gusta comer" = "I like to eat" vs. "Me gusta jugo" = "I like juice"
Comer is an infinitive that means "to eat"
Jugo is simply an object noun that means "juice"