# Fail to upgrade - Make sure that \`gem install json -v '1.8.2'\` succeeds before bundling

**URL:** <https://meta.discourse.org/t/fail-to-upgrade-make-sure-that-gem-install-json-v-1-8-2-succeeds-before-bundling/24840>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [February 5, 2015, 1:34am UTC](https://meta.discourse.org/t/fail-to-upgrade-make-sure-that-gem-install-json-v-1-8-2-succeeds-before-bundling/24840 "2015-02-05T01:34:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [February 5, 2015, 1:37am UTC](https://meta.discourse.org/t/fail-to-upgrade-make-sure-that-gem-install-json-v-1-8-2-succeeds-before-bundling/24840/2 "2015-02-05T01:37:39Z")

</div>

> [@trandatnh](#):
>
> Cannot allocate memory

you need more memory … you are running tight … recommend

```plaintext
cd /var/discourse
git pull
./launcher rebuild app

```

---

_[View the full topic](https://meta.discourse.org/t/fail-to-upgrade-make-sure-that-gem-install-json-v-1-8-2-succeeds-before-bundling/24840)._
