fix in case ruby is not installed.