I had a similar problem about 3 years ago. It started off as a normal cold then turned into a chest infection but 3 months later I still had pain all over my ribs. I eventually went to the doctors who sent me for a chest xray. It turned out it was caused by the fibromyalgia I have (all the cartlidge?? around my ribs was swollen up) I have had it years but never in my ribs so didnt think for one minute it was that.
Im not suggesting you may have fibro, Im just saying that it could be anything and you really ought to get checked out.