Change Ruby version string format to work with chruby