# Travis cannot install Ruby 2.7.2 for osx\_image: xcode12.4

**URL:** <https://travis-ci.community/t/travis-cannot-install-ruby-2-7-2-for-osx-image-xcode12-4/11396>\
**Category:** Travis CI Discussions & Feedback\
**Created:** [April 3, 2021, 7:32am UTC](https://travis-ci.community/t/travis-cannot-install-ruby-2-7-2-for-osx-image-xcode12-4/11396 "2021-04-03T07:32:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kroussevrb](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/kroussevrb/32/6401_2.png) [@kroussevrb](https://travis-ci.community/u/kroussevrb)\
**Post date:** [April 3, 2021, 7:32am UTC](https://travis-ci.community/t/travis-cannot-install-ruby-2-7-2-for-osx-image-xcode12-4/11396/1 "2021-04-03T07:32:19Z")

</div>

I have upgraded ruby versions in the past without problems. I changed the contents of `.ruby-version` but this time around I got the following error:

```auto
Required ruby-2.7.2 is not installed - installing.
curl: (22) The requested URL returned error: 404 Not Found
Searching for binary rubies, this might take some time.
Requested binary installation but no rubies are available to download, consider skipping --binary flag.
Gemset '' does not exist, 'rvm ruby-2.7.2 do rvm gemset create ' first, or append '--create'.
The command "rvm use $(< .ruby-version) --install --binary --fuzzy" failed and exited with 2 during .

```

I also tried

```auto
before_install
- rvm install 2.7.2

```

The same thing happened

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [April 3, 2021, 8:17am UTC](https://travis-ci.community/t/travis-cannot-install-ruby-2-7-2-for-osx-image-xcode12-4/11396/2 "2021-04-03T08:17:57Z")

</div>

Rubies available for install are listed at [https://rubies.travis-ci.org/](https://rubies.travis-ci.org/) (that page only lists FreeBSD and OSX versions, see the RVM link there for the Linux ones).

---

<div class="post-metadata">

**Author:** ![kroussevrb](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/kroussevrb/32/6401_2.png) [@kroussevrb](https://travis-ci.community/u/kroussevrb)\
**Post date:** [April 3, 2021, 8:39am UTC](https://travis-ci.community/t/travis-cannot-install-ruby-2-7-2-for-osx-image-xcode12-4/11396/3 "2021-04-03T08:39:43Z")

</div>

I am using `osx_image: xcode12.4`

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [April 3, 2021, 11:22am UTC](https://travis-ci.community/t/travis-cannot-install-ruby-2-7-2-for-osx-image-xcode12-4/11396/5 "2021-04-03T11:22:32Z")

</div>

Okay, as [https://rubies.travis-ci.org](https://rubies.travis-ci.org) correctly states (by omission) and explicitly checking the site and [`rvm list remote`](https://travis-ci.com/github/native-api/test_travis/builds/222063361) confirms, **there are no alternative rubies available for `osx_image: xcode12.4` atm, only the preinstalled `2.6.6`.**

---

<div class="post-metadata">

**Author:** ![kroussevrb](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/kroussevrb/32/6401_2.png) [@kroussevrb](https://travis-ci.community/u/kroussevrb)\
**Post date:** [April 5, 2021, 7:06am UTC](https://travis-ci.community/t/travis-cannot-install-ruby-2-7-2-for-osx-image-xcode12-4/11396/6 "2021-04-05T07:06:05Z")

</div>

Thank you, this is very helpful!

Will there be other rubies in the future or is it impossible/unfeasible?

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [April 5, 2021, 2:58pm UTC](https://travis-ci.community/t/travis-cannot-install-ruby-2-7-2-for-osx-image-xcode12-4/11396/7 "2021-04-05T14:58:27Z")

</div>

I notified the support of this, it’s up to them now.

---

<div class="post-metadata">

**Author:** ![mustafa](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/mustafa/32/2752_2.png) [@mustafa](https://travis-ci.community/u/mustafa)\
**Post date:** [April 12, 2021, 8:05am UTC](https://travis-ci.community/t/travis-cannot-install-ruby-2-7-2-for-osx-image-xcode12-4/11396/8 "2021-04-12T08:05:20Z")

</div>

Ruby2.7.2 has been built on Xcode12.4, sorry about the latency. Thanks.

---

<div class="post-metadata">

**Author:** ![kroussevrb](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/kroussevrb/32/6401_2.png) [@kroussevrb](https://travis-ci.community/u/kroussevrb)\
**Post date:** [April 12, 2021, 8:55am UTC](https://travis-ci.community/t/travis-cannot-install-ruby-2-7-2-for-osx-image-xcode12-4/11396/9 "2021-04-12T08:55:47Z")

</div>

Thank you very much
