If I hear 'gondola,' I think of Venice. If I hear 'cable car,' I think of San Francisco.
However, in the context of a cable car ride, either 'gondola' or 'cable car' should be okay.
If I hear 'cabin,' I think of Abraham Lincoln or a ship. And in this context, 'cabin' somehow doesn't sound quite right to me; I would have thought it would be, if anything, the interior of the vehicle, not the vehicle itself. So you could say, for example, 'Please keep arms and legs inside the cabin,' but not (I think) 'We spotted the brightly colored cabins of the cable car ride across the valley.' But it might be BE or other usage, or maybe it's just that I'm not familiar with it.
It would help to have a complete sentence.