Condense Ruby kernel into one location.