Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Can't install prerelease RubyGems

オープン 初心者向け
#945 コメント 0 件 リアクション 0 件 担当者 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分
マージ済み PR(30日)
7

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ruby/setup-ruby のほかの issue

ruby/setup-ruby の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。