Skip to content

fix ci: use latest ruby 3.2.x in setup-ruby - #161

Merged
rodrieiz merged 1 commit into
mainfrom
rodrieiz/fix-ci-ruby-version
Nov 16, 2026
Merged

rodrieiz merged 1 commit into
mainfrom
rodrieiz/fix-ci-ruby-version

Conversation

@rodrieiz

Copy link
Copy Markdown
Contributor

El deploy está fallando en todas las PRs (no es un problema de ninguna rama en particular):

Error: Unavailable version 3.2.2 for ruby on ubuntu-26.04
Only the latest patch release of each series is built for newer runner images.
ruby-3.2.11 is available on ubuntu-26.04: use ruby-version: '3.2.11', or '3.2'

ubuntu-latest pasó a ser ubuntu-26.04, y ruby-builder solo publica el último patch de cada serie para esas imágenes. Como .ruby-version pinnea 3.2.2, ruby/setup-ruby tira 404.

Le paso ruby-version: '3.2' explícito al step, así siempre agarra el último 3.2.x disponible. No toco .ruby-version para no romperle el entorno local a nadie.

Nota: el workflow corre también con pull_request_target, que usa la definición del workflow de la rama base. Así que las PRs abiertas van a seguir mostrando ese check en rojo hasta que esto esté mergeado en main.

🤖 Generated with Claude Code

ubuntu-latest moved to 26.04, where ruby-builder only publishes the newest
patch release of each series. .ruby-version pins 3.2.2, which no longer has
a prebuilt binary, so Setup Ruby fails with a 404.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@rodrieiz
rodrieiz requested a review from a team as a code owner November 16, 2026 20:28
@rodrieiz
rodrieiz merged commit 41a98df into main Nov 16, 2026
1 of 2 checks passed
@rodrieiz
rodrieiz deleted the rodrieiz/fix-ci-ruby-version branch November 16, 2026 20:39

This branch was successfully deployed

1 active deployment
preview — 0a7978c4 Deployed Nov 16, 2026 by github-actions[bot]
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