ensure correct ruby version display

the ruby version env variable only contains the version required,
not the version used