# 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:** 7

<div class="post-metadata">

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

</div>

> [@sam](#):
>
> Increase swap size

The current swap size is 1GB. Does it help if I increase swap size to 2 GB?

```plaintext
swapon -s
Filename Type Size Used Priority
/swapfile file 1048572 77896 -1

```

---

_[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)._
