# Failing to rebuild app on Discourse since May 7

**URL:** <https://meta.discourse.org/t/failing-to-rebuild-app-on-discourse-since-may-7/117121>\
**Category:** Self-hosting\
**Created:** [May 7, 2019, 8:21pm UTC](https://meta.discourse.org/t/failing-to-rebuild-app-on-discourse-since-may-7/117121 "2019-05-07T20:21:47Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![lmcthjo](https://avatars.discourse-cdn.com/v4/letter/l/67e7ee/32.png) [@lmcthjo](https://meta.discourse.org/u/lmcthjo)\
**Post date:** [May 9, 2019, 12:50am UTC](https://meta.discourse.org/t/failing-to-rebuild-app-on-discourse-since-may-7/117121/14 "2019-05-09T00:50:37Z")

</div>

Hi Rafael,

Thanks a lot! It is one of the solutions.

1.When using

```
## Which Git revision should this container use? (default: tests-passed)
version: stable

```

in app.yml, the rebuild app is working fine with no error. Discourse is nevertheless upgraded to latest stable version 2.2.5

2.I found another way by providing the mini\_racer version in app.yml

```
# Fix for mini-racer error
- exec:
    cd: $home
    cmd:
      - sed -i "s/mini_racer .*/mini_racer (0.2.5)/" Gemfile.lock

```

I needed to specify latest version 0.2.5 otherwise rebuild app is failing with 0.2.3 or 0.2.4 (even if the error message tells to install mini\_racer 0.2.3)

2 solutions. I have the choice now 😊  
Thanks for your quick support

---

_[View the full topic](https://meta.discourse.org/t/failing-to-rebuild-app-on-discourse-since-may-7/117121)._
