wulftone's fix for rubinius 2.0