If it truly is a ridge beam, it carries between its endpoints, and intervening "rafters" rest on the beam.
That is, in that case, it is not enough to reinforce between 2 rafters; more likely, you need to install 2 new beams across the entire span.
You should hire a structural engineer to calculate how the reinforcement should be designed.