Added ruby version check.