Fix base calculation.
Invoke repeat-check for each ruby build.