# CI use wrong patch Ruby version when I use format "MAJOR.MINOR"

**URL:** <https://travis-ci.community/t/ci-use-wrong-patch-ruby-version-when-i-use-format-major-minor/8412>\
**Category:** Ruby\
**Created:** [April 30, 2020, 4:01pm UTC](https://travis-ci.community/t/ci-use-wrong-patch-ruby-version-when-i-use-format-major-minor/8412 "2020-04-30T16:01:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wokenqingtian](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/wokenqingtian/32/4485_2.png) [@wokenqingtian](https://travis-ci.community/u/wokenqingtian)\
**Post date:** [April 30, 2020, 4:01pm UTC](https://travis-ci.community/t/ci-use-wrong-patch-ruby-version-when-i-use-format-major-minor/8412/1 "2020-04-30T16:01:36Z")

</div>

When I set Travis for Ruby like this:

```auto
rvm:
  - 2.5
  - 2.6

```

I get a wired result:

- [2.5 points to 2.5.5](https://travis-ci.org/github/jeremytregunna/ruby-trello/jobs/681528450)
- [2.6 points to 2.6.3](https://travis-ci.org/github/jeremytregunna/ruby-trello/jobs/681528453)

The correct result should be:

- 2.5 points to 2.5.8
- 2.6 points to 2.6.6

---

<div class="post-metadata">

**Author:** ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)\
**Post date:** [April 30, 2020, 8:02pm UTC](https://travis-ci.community/t/ci-use-wrong-patch-ruby-version-when-i-use-format-major-minor/8412/2 "2020-04-30T20:02:58Z")

</div>

Thanks for bringing this up.

> <https://github.com/travis-ci/travis-build/pull/1902>

  
should solve it.
