fixed a problem that could occur when no ruby versions are found for some reason