I'm not able to donate troops using gems.
But donating without using gems works.

I have around 100 gems