# Discourse Upgrade Failed With Ruby 2.4 or above required

**URL:** <https://meta.discourse.org/t/discourse-upgrade-failed-with-ruby-2-4-or-above-required/92782>\
**Category:** Self-hosting\
**Created:** [July 20, 2018, 7:47am UTC](https://meta.discourse.org/t/discourse-upgrade-failed-with-ruby-2-4-or-above-required/92782 "2018-07-20T07:47:18Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![justme](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@justme](https://meta.discourse.org/u/justme)\
**Post date:** [July 20, 2018, 7:47am UTC](https://meta.discourse.org/t/discourse-upgrade-failed-with-ruby-2-4-or-above-required/92782/1 "2018-07-20T07:47:18Z")

</div>

I just tried upgrading our discourse forum and a little ways into the installation I got this error:

 ![](https://global.discourse-cdn.com/meta/original/3X/f/f/ff9ba0f92d84260276a888ed5b3401cba36bd507.png)

I updated the the Ruby version in the docker container to Ruby 2.4.4 and set it to the default version using RVM, The default version then showed Ruby 2.4.4 (was 2.3.3). I retried the upgrade and got the same message as in the screen shot above.

I logged out of the docker container and tried a ./launcher rebuild app. After a painfully long time the rebuild failed with the same error message:

 ![](https://global.discourse-cdn.com/meta/original/3X/6/7/6775961bf15c1a3a73cb2a55b7a160b84ad528c5.png)

Resolution:  
I had to completely reinstall Docker with a wget (found the command in the forum) then run the launcher rebuild twice (not because of errors, instructions during the install said to do that). Now have the latest version of docker, postgres, and the forum, best of all I don’t seem to have lost any data and I can login to the forum. Oh, also like all the pretty new graphs in the admin section.

---

_[View the full topic](https://meta.discourse.org/t/discourse-upgrade-failed-with-ruby-2-4-or-above-required/92782)._
