fix crash for Rubinius