← Catalogue

bundler

Bundler failing to resolve - a missing gem, or a version conflict it prints the tree for.

rubydepstoolmatcher

Open in playgroundFile on GitHubHistory

Install: ci-doctor matchers add official/bundler

matchers/ruby/bundler/matcher.yaml

id: bundlerrole: toolclassification: [ruby, deps]description: Bundler failing to resolve - a missing gem, or a version conflict it prints the tree for.pattern: Could not find gem|Bundler::(GemNotFound|VersionConflict)before: 1after: 6

In bundles

allruby

Fixtures

Framing stripped per provider. Highlighted lines are what this matcher selects; the marked line is the anchor.

bundler_missing_gemOpen in playground

1Current runner version: '2.336.0'
2##[group]Operating System
3Ubuntu
424.04.4
5LTS
6##[endgroup]
7Secret source: Actions
8Prepare workflow directory
9Prepare all required actions
10Complete job name: bundler_missing_gem
11##[group]Set up job
12Image: ubuntu-24.04
13Runner name: 'GitHub Actions 12'
14##[endgroup]
15Download action repository 'actions/checkout@v4'
16Download action repository 'actions/cache@v4'
17##[group]Run actions/checkout@v4
18 with:
19 fetch-depth: 20
20 lfs: false
21##[endgroup]
22Syncing repository: acme/ledger
23##[group]Getting Git version info
24Working directory is '/home/runner/work/ledger/ledger'
25##[endgroup]
26/usr/bin/git checkout --progress --force 8ad41f02
27##[group]Run actions/cache@v4
28 with:
29 path: ~/.cache
30 key: Linux-deps-8ad41f02
31##[endgroup]
32Cache not found for input keys: Linux-deps-8ad41f02
33##[warning]file does not exist
34##[group]Run bundle install --jobs 4 --retry 3
35bundle install --jobs 4 --retry 3
36shell: /usr/bin/bash -e {0}
37##[endgroup]
38Fetching gem metadata from https://rubygems.org/.........
39Fetching gem metadata from https://rubygems.org/.
40Resolving dependencies...
41Could not find gem 'sidekiq-pro (~> 7.2)' in rubygems repository https://rubygems.org/ or installed locally.
42
43The source contains the following gems matching 'sidekiq-pro':
44 * sidekiq-pro-5.5.1
45 * sidekiq-pro-6.0.2
46Run `bundle install` to install missing gems.
47##[error]Process completed with exit code 7.
48##[group]Post Run actions/checkout@v4
49##[endgroup]
50/usr/bin/git version
51git version 2.54.0
52##[group]Post Run actions/upload-artifact@v4
53##[endgroup]
54Artifact upload complete.
55##[warning]vendor/bundle/: no matching files. Ensure that the artifact path is relative to the working directory
56Post job cleanup.
57Cleaning up orphan processes