Commit fccdb05
ci: skip Bundler install in gem-push workflow
The Build + Publish run failed at ruby/setup-ruby
(https://github.com/browserstack/browserstack-local-ruby/actions/runs/36133351430).
Gemfile.lock now says BUNDLED WITH 2.7.1 (regenerated in ee74327), so by
default setup-ruby runs `gem install bundler -v 2.7.1`. Bundler 2.7 needs
Ruby >= 3.2, so the install fails on the job's Ruby 2.6.10:
There are no versions of bundler (= 2.7.1) compatible with your Ruby & RubyGems
bundler requires Ruby version >= 3.2.0.
This job only runs `gem build` and `gem push`, and neither uses Bundler.
Set `bundler: none` so setup-ruby skips the install. The publish Ruby stays
at 2.6.10. The lockfile keeps Bundler 2.7.1 and its CHECKSUMS block, because
downgrading to Bundler 2.4.x (the last line that supports Ruby 2.6) would drop
the 524db87 integrity hardening.
Verified: the workflow YAML parses; the pinned setup-ruby SHA (v1.324.0)
documents 'none' as "nothing is done"; `gem build *.gemspec` succeeds without
Bundler. The workflow itself was not run, since it publishes to RubyGems.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent 5341a73 commit fccdb05
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
| |||
0 commit comments