# Error rebuilding, bundler exits with code 137

**URL:** <https://meta.discourse.org/t/error-rebuilding-bundler-exits-with-code-137/46463>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [26. Juni 2016 um 13:17 UTC](https://meta.discourse.org/t/error-rebuilding-bundler-exits-with-code-137/46463 "2016-06-26T13:17:08Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![OmJmr](https://avatars.discourse-cdn.com/v4/letter/o/f05b48/32.png) [@OmJmr](https://meta.discourse.org/u/OmJmr)\
**Post date:** [26. Juni 2016 um 13:17 UTC](https://meta.discourse.org/t/error-rebuilding-bundler-exits-with-code-137/46463/1 "2016-06-26T13:17:08Z")

</div>

Hi

I got this error when I tried to rebuild app “./launcher rebuild app”

```
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile' failed with return #<Process::Status: pid 2243 exit 137>
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --verbose --without test --without development'", "su discourse -c 'bundle exec rake db:migrate'", "su discourse -c 'bundle exec rake assets:precompile'"]}
9a1115f500d5f32060a29064d9b24b0c858f8a511b6e8f5de6523ef0ce642551
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one

```

I found no earlier messages when i scroll up.

I read other posts and I did not find an idea to my issue.

Please find below some params my setup:

```
docker info
Containers: 1
 Running: 0
 Paused: 0
 Stopped: 1
Images: 2
Server Version: 1.11.2
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 16
 Dirperm1 Supported: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: null host bridge
Kernel Version: 3.13.0-32-generic
Operating System: Ubuntu 14.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 994.1 MiB
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support

```

Version of postgressql is 9.3

Thanks for your help

Regards

---

_[View the full topic](https://meta.discourse.org/t/error-rebuilding-bundler-exits-with-code-137/46463)._
