refactor ruby module to use envvar to seed ruby version