Ralph is overjoyed, not angry. The ship represents rescue and return to civilization—his primary goal throughout the novel.
The moment underscores the tragedy: the ship passes because Jack's hunters let the fire die—Ralph's hope is crushed by the very chaos he fought to contain.