Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Read the Ruby version from mise's inline table form - #9991

Merged
hsbt merged 1 commit into
masterfrom
claude/fervent-benz-42696b
Nov 4, 2026
Merged

hsbt merged 1 commit into
masterfrom
claude/fervent-benz-42696b

Conversation

@hsbt

@hsbt hsbt commented Oct 30, 2026

Copy link
Copy Markdown
Member

With ruby file: "mise.toml" in the Gemfile, the inline table form that mise recommends, ruby = { version = "3.4.6" }, fails with { is not a valid requirement on the Ruby version and Bundler cannot parse the Gemfile.

This extends the existing regex to read version inside the braces, in any key position and with either quote style. The [tools.ruby] section form and the array form are still unsupported, and I don't intend to support further version manager formats.

Fixes #8998

Generated with Claude Code

mise recommends `ruby = { version = "3.4.6" }`, which was read as `{` and made the Gemfile fail to parse. The `[tools.ruby]` section and array forms stay unsupported.

#8998

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hsbt
hsbt merged commit eefef54 into master Nov 4, 2026
114 checks passed
@hsbt
hsbt deleted the claude/fervent-benz-42696b branch November 4, 2026 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for Mise's recommended table format

1 participant