Just use rand() (Kernel#rand) as Random isn't present on 1.8