Support the new version scheme of ruby.