I know how you feel I have the same thing for 2 weeks and its driving me crazy, the pain under your right rib cage feels like a heart attack, for me I have so much air and bloat that just wont come out, and when I go to the bathroom I feel like I still half to go, my problem is a lower back injury with nerve damage believe it or not the slightest injury to yoour back can cause major constipation, gas etc, I also noticed after I eat is when I become bloated so I decided to take a digestive enzyme, similar to beano ive noticed a little relief, also worrying about it makes it worse, it can be irritable bowel syndrom too, the only way to find out would be to see your doctor, it could be your just bound up with gas,