extract ruby version logic into RubyVersion
revert .ruby-version support