Thanks for query,
normally doesnot produce gummy stuff.
The gummy mucus type stuff in your stool is a mucus.As you eat differently it produces due to irritation of bowel.
It may be an undigested food.
As there were no pain or blood there were least chances of infection like amoebiasis
you consume more leafy vegetables for your constipation problem.