Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Can't install prerelease RubyGems

未關閉 適合新手
#945 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

@ntkme 已經在處理了。

開始於 2026年10月9日。

  • #946 來自 @ntkme —— 未關閉

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
66/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
javascript, ruby
領域
ci-cd

研究方向

拒絕 RubyGems 預發布版本的版本比較位於 rubygems.js 第 23 行附近,那裡使用了 semver 模組。請閱讀該比較,並追蹤 4.1.0.beta2 這樣的版本是如何到達那裡的。當 4.1.0.beta2 這樣的 RubyGems 預發布版本能夠被接受並安裝,且現有的正式版本處理仍然正常運作時,即為完成。

由索引模型根據 Issue 內容生成。

描述

Ensure the following before filing this issue
  • I verified it reproduces with the latest version with - uses: ruby/setup-ruby@v1 (see Versioning policy)

  • I tried to reproduce the issue locally by following the workflow steps (including all commands done by ruby/setup-ruby, except for Downloading Ruby & Extracting Ruby),
    and it did not reproduce locally (if it does reproduce locally, it's not a ruby/setup-ruby issue)

Are you running on a GitHub-hosted runner or a self-hosted runner?

GitHub-hosted runner

Link to the failed workflow job (must be a public workflow job, so the necessary information is available)

https://github.com/haines/pg-aws_rds_iam/actions/runs/37953659583/job/113898580616#step:3:54

Any other notes?

The prerelease version format for RubyGems (e.g. 4.1.0.beta2) is not valid semantic versioning, so the semver module (correctly) reports that it is invalid. The comparison needs to take this into account in order for this action to be able to install such a version.

主要語言
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 摘要。