(PUP-3564) Suggested fix to make Ruby 1.8.x tests pass