Fix for newest ruby