Skip to content

fix(ci): align publish workflow Ruby to 3.3.5 to fix uri activation c…#3

Merged
doris-xiao-bybit merged 1 commit into
mainfrom
fix/publish-ruby-version
Jul 22, 2026
Merged

fix(ci): align publish workflow Ruby to 3.3.5 to fix uri activation c…#3
doris-xiao-bybit merged 1 commit into
mainfrom
fix/publish-ruby-version

Conversation

@doris-xiao-bybit

Copy link
Copy Markdown
Collaborator

…onflict

The rubygems/release-gem@v1 action runs bundle exec rake release internally, which failed on Ruby 3.2 with:

You have already activated uri 0.12.5, but your Gemfile requires uri 1.1.1

Ruby 3.2 stdlib bundles uri 0.12.5 as a default gem. bundler 2.4.19 (also shipped with Ruby 3.2) activates the stdlib version before checking Gemfile requirements. Since faraday (our runtime dep) transitively resolves to uri >= 1.x, bundler then errors on the version mismatch.

Ruby 3.3.5 (already what .ruby-version pins for local dev) ships bundler 2.5.x, which handles default-gem overlap correctly.

…onflict

The `rubygems/release-gem@v1` action runs `bundle exec rake release`
internally, which failed on Ruby 3.2 with:

    You have already activated uri 0.12.5, but your Gemfile requires uri 1.1.1

Ruby 3.2 stdlib bundles `uri 0.12.5` as a default gem. bundler 2.4.19 (also
shipped with Ruby 3.2) activates the stdlib version before checking Gemfile
requirements. Since faraday (our runtime dep) transitively resolves to
`uri >= 1.x`, bundler then errors on the version mismatch.

Ruby 3.3.5 (already what `.ruby-version` pins for local dev) ships bundler
2.5.x, which handles default-gem overlap correctly.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@doris-xiao-bybit
doris-xiao-bybit merged commit b4f210a into main Jul 22, 2026
6 checks passed
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