Skip to content

Fix handling of Ruby versions.#1833

Open
cwize1 wants to merge 1 commit into
microsoft:mainfrom
cwize1:chrisgun/fixRuby
Open

Fix handling of Ruby versions.#1833
cwize1 wants to merge 1 commit into
microsoft:mainfrom
cwize1:chrisgun/fixRuby

Conversation

@cwize1

@cwize1 cwize1 commented Jun 22, 2026

Copy link
Copy Markdown

This change strips off the platform from the Ruby version strings.

Ruby version strings are formatted differently from pure semantic versioning. Specifically, everything after the dash is the platform, not the pre-release version. For example: "1.19.4-x86_64-linux-gnu". Ruby represents pre-release versions by placing a letter in the main version string. For example: "2.0.0.rc1".

See: https://guides.rubygems.org/patterns/#prerelease-gems

This change strips off the platform from the Ruby version strings.

Ruby version strings are formatted differently from pure semantic
versioning. Specifically, everything after the dash is the platform,
not the pre-release version. For example: "1.19.4-x86_64-linux-gnu".
Ruby represents pre-release versions by placing a letter in the main
version string. For example: "2.0.0.rc1".

See: https://guides.rubygems.org/patterns/#prerelease-gems
@cwize1 cwize1 requested a review from a team as a code owner June 22, 2026 23:40
@cwize1 cwize1 requested review from Copilot and grvillic and removed request for Copilot June 22, 2026 23:40
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.

2 participants