[#50154295] Address more Mac exception handling ruby problems