Skip to content

Conversation

@hsbt
Copy link
Member

@hsbt hsbt commented Dec 26, 2025

Added ruby_41? to supported platform.

Copilot AI review requested due to automatic review settings December 26, 2025 02:21
@hsbt hsbt enabled auto-merge December 26, 2025 02:21
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for Ruby 4.1 by extending the platform detection system to recognize ruby_41? and related platform-specific methods. However, Ruby 4.1 does not currently exist, making this addition premature.

  • Added Ruby 4.1 to the ALL_RUBY_VERSIONS constant by changing the range from 40 to *40..41
  • Added test expectations for all Ruby 4.1 platform variants (ruby_41, mri_41, windows_41, mswin_41, mswin64_41, mingw_41, x64_mingw_41)

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
bundler/lib/bundler/current_ruby.rb Modified ALL_RUBY_VERSIONS to include version 41 by expanding the range
bundler/spec/bundler/current_ruby_spec.rb Added test expectations for all Ruby 4.1 platform variants across different operating systems

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hsbt hsbt merged commit 569c5c7 into master Dec 26, 2025
88 checks passed
@hsbt hsbt deleted the support-ruby-4-0 branch December 26, 2025 02:46
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.

2 participants