[rubis] (bug-fix:minor) Don't synchronize a possible null object. Inizialization of random number generator has been moved into a synchronized method.