capistrano / capistrano/sshkit
`bundle install` step is assumed to have succeeded when OOM killed
Open
- Dominant language
- Ruby
- Stars
- 1.2k
- Forks
- 257
- PR merge metrics
- No merged PRs in 30d
Description
I have a Rails app that when deployed, runs the command
```
cd /home/app/staging/releases/20250304094541 && /usr/bin/env bundle install --jobs 4 --quiet
```
on the server. Due to `--jobs 4` and the amount of memory available, it happens to be OOM-killed.
SSHKit happily assumes it has succeeded and continues, erroring on a follow-up step.
My suspicion is that this commented-out code points into the direction of a solution: https://github.com/capistrano/sshkit/blob/master/lib/sshkit/backends/netssh.rb#L160-L166
Contributor guide
Assessment
This issue has not been assessed yet.