Thank you for writing to health care magic.
May be he is allergic to Ragi.
Please stop giving him ragi for the time being.
Again try the same substance after one month.
If he again vomits he might be allergic to ragi.
The earlier episode does not seem to confirm allergy
. so stop the same and restart if after one month as a trial to confirm allergy.
Hope this helps.