Skip to content

ci: Install the bundle before publishing to RubyGems - #148

Merged
georgeguimaraes merged 1 commit into
masterfrom
ci/fix-rubygems-publish
Sep 15, 2026
Merged

georgeguimaraes merged 1 commit into
masterfrom
ci/fix-rubygems-publish

Conversation

@georgeguimaraes

Copy link
Copy Markdown
Member

The rubygems-publish job runs bundle exec rake release but its setup-ruby step never installed the bundle, so it fails with Could not find gem 'faraday' in locally installed gems. It failed this way for 2.7.0 in April and again for 2.8.0 just now, so the automated publish has never actually worked. Turn on bundler-cache.

Also add workflow_dispatch so the publish can be rerun by hand for the tag master already points at; rake release skips tagging when the tag exists at HEAD.

The publish job ran bundle exec rake release without ever installing gems, so it failed with Could not find gem 'faraday' for both 2.7.0 and 2.8.0. Also allow a manual run so the publish can be repeated for the tag master already points at.
@georgeguimaraes
georgeguimaraes merged commit 6b67002 into master Sep 15, 2026
10 checks passed
@georgeguimaraes
georgeguimaraes deleted the ci/fix-rubygems-publish branch September 15, 2026 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant