test for newer versions of ruby