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.