Breaking ribs is no joke. Sorry to hear about that. I'm guessing/hoping they've healed by now. Still, it's a good reason to lose some motivation...!
I'd wait until you feel it again, otherwise it'll just be a chore, and you won't ride regularly. Can you find another way to pass your time, being active and outdoors?