protect against polluting ancestor chain
compare ruby version as f