diff --git a/lib/manager/bundler/artifacts.ts b/lib/manager/bundler/artifacts.ts
index 251f34abc17adf8a37930808355abe76d6e0d2e8..4b280afcf6ffc76d5b931b84f2ee9b26ae52309b 100644
--- a/lib/manager/bundler/artifacts.ts
+++ b/lib/manager/bundler/artifacts.ts
@@ -161,13 +161,14 @@ export async function updateArtifacts(
       global.repoCache.bundlerArtifactsError = BUNDLER_INVALID_CREDENTIALS;
       throw new Error(BUNDLER_INVALID_CREDENTIALS);
     }
+    const output = err.stdout + err.stderr;
     const resolveMatchRe = new RegExp('\\s+(.*) was resolved to', 'g');
-    if (err.stderr && err.stderr.match(resolveMatchRe)) {
+    if (output.match(resolveMatchRe)) {
       logger.debug({ err }, 'Bundler has a resolve error');
       const resolveMatches = [];
       let resolveMatch;
       do {
-        resolveMatch = resolveMatchRe.exec(err.stderr);
+        resolveMatch = resolveMatchRe.exec(output);
         if (resolveMatch) {
           resolveMatches.push(resolveMatch[1].split(' ').shift());
         }