Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Support Ruby 3.4.2 for ubuntu-26.04

未关闭
#943 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
52/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
github-actions, javascript, ruby, ubuntu

调研方向

Start by examining ruby/setup-ruby's handling of Ruby versions and the ruby-builder release URL shown in the failure for ubuntu-26.04. Reproduce the GitHub Actions run with Ruby 3.4.2, then verify that the required prebuilt artifact is available and setup-ruby completes successfully on the x86 runner.

由索引模型根据 Issue 内容生成。

描述

I'm upgrading my project's CI to use the new ubuntu-26.04 Github Runner image (x86), and setup-ruby fails with:

Run ruby/setup-ruby@v1
  with:
    ruby-version: .ruby-version
    bundler-cache: true
    token: ***
Using 3.4.2 as input from file .ruby-version
Modifying PATH
  Entries added to PATH to use selected Ruby:
    /opt/hostedtoolcache/Ruby/3.4.2/x64/bin
Downloading Ruby
  https://github.com/ruby/ruby-builder/releases/download/ruby-3.4.2/ruby-3.4.2-ubuntu-26.04-x64.tar.gz
  Took   0.14 seconds
Error: Error: Unavailable version 3.4.2 for ruby on ubuntu-26.04
          You can request it at https://github.com/ruby/setup-ruby/issues
          Cause: Unexpected HTTP response: 404
    at /home/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:50283:15
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at async body (/home/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:372:14)

So here I am, requesting for that :)

Let me know if I can help somehow with that.

Thanks for the support!

主要语言
JavaScript
星标
996
派生
373
平均合并
48 分钟
30 天内合并 PR
7

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ruby/setup-ruby 的其他 Issue

查看 ruby/setup-ruby 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。