The red carpet was rolled out for some newly minted Red Sox Hall of Famers last night at Fenway Park.

It just took this version of the Red Sox a little bit longer to find their way to the party.

Dustin Pedroia collected two hits in the sixth inning as the Red Sox put together their best offensive frame of the season to help extend their winning streak to four with a 9-4 victory over the Houston Astros.

The Red Sox — who dedicated the entire day to the induction of Nomar Garciaparra, Roger Clemens, Pedro Martinez and Joe Castiglione into the team’s Hall of Fame — sent 12 men to the plate in the seven-run sixth and finally got production throughout the lineup.

It was the first time 12 Sox have batted in a single inning since they did so two years ago in an August game against the Indians.

“We came to life,” said Red Sox manager John Farrell. “We were able to combine some base on balls with some base hits. … It was good to see us break out. A very good offensive night overall.”

Allen Webster pitched six innings and gave up four runs (three earned) on 85 pitches to improve to 3-1 on the season, and the Red Sox gave their fans a little something to celebrate on a night that was all about looking back, and not looking at their 55-65 record.

“We are trying to finish the season in terms of finishing strong,” said Red Sox right fielder Daniel Nava, who went 2-for-3 with two doubles. “We know where we stand, but we can go out there and give it a strong finish.”

Astros starter Scott Feldman could do no wrong against the Red Sox lineup through the first three innings. He only gave up one single, to Christian Vazquez, and it looked like another offensive struggle for the Red Sox at Fenway.