Support various ruby flavours 1.9+