/ʒim/
gym is feminine in French.
clipping of gymnastique
gym is masculine in French.
clipping of gymnase