Skip to content

Instantly share code, notes, and snippets.

@adambutler
Last active August 29, 2015 14:17
Show Gist options
  • Save adambutler/7ceeaed010a38e0409c9 to your computer and use it in GitHub Desktop.
Save adambutler/7ceeaed010a38e0409c9 to your computer and use it in GitHub Desktop.
Capistrano Errors Troubleshooting

Capistrano errors troubleshooting

SSHKit::Runner::ExecuteError: [...] bundle exit status: 5

Capistrano runs bundler with --quiet by default, this can cause bundler issues to not bubble back up to capistrano. You can fix this by adding this in your deploy.rb file -

set :bundle_flags, "--deployment"

The underlying issue can also be raised by running the failing task on the target server. In my case wheh this failed it was due to a dependency libicu-dev missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment