Hello...
Pain in ribs could be due to many reasons.....
Are you sure it is due to gas....
Please give more details....as to what are the factors which increase/ decrease the pain...what is the exact location, which side....
Next Steps
Consult a Good Homoeopath nearby...who will examine & judge what is the likely cause of the pain & accordingly prescribe medicines...
Health Tips
If the pain is due to gases & it happens every now & then....see that you are having your meals at regular time, drink atleast 10_12glasses of water daily, do regular exercise/walks, Do not eat Spicy, Fermented food....