Skip to content

Bump bundler from 2.6.3 to 2.7.1#1559

Merged
lfdebrux merged 2 commits into
mainfrom
bump-bundler
Jul 29, 2025
Merged

Bump bundler from 2.6.3 to 2.7.1#1559
lfdebrux merged 2 commits into
mainfrom
bump-bundler

Conversation

@lfdebrux
Copy link
Copy Markdown
Contributor

@lfdebrux lfdebrux commented Jul 29, 2025

What problem does this pull request solve?

Bumps bundler from 2.6.3 to 2.7.1.

When using the latest version of RubyGems with Bundler 2.6.3 a number of redefined constant errors are emitted, so this commit bumps Bundler.

Note that this bump drops support for Ruby 3.1.

Things to consider when reviewing

  • Ensure that you consider the wider context.
  • Does it work when run on your machine?
  • Is it clear what the code is doing?
  • Do the commit messages explain why the changes were made?
  • Are there all the unit tests needed?
  • Do the end to end tests need updating before these changes will pass?
  • Has all relevant documentation been updated?

@lfdebrux lfdebrux changed the title Update Gemfile to fix deprecation warnings Bump bundler from 2.6.3 to 2.7.1 Jul 29, 2025
@github-actions
Copy link
Copy Markdown
Contributor

🎉 A review copy of this PR has been deployed! It is made of up two components

  1. A review copy of forms-runner
  2. A production copy of forms-admin

Important

Not all of the functionality of forms-runner is present in review apps.
Functionality such as sending emails, file upload, and S3 submission types are
deliberately disabled for the sake of simplifying review apps.

You should use the full dev environment to test the functionality which is disabled here.

It may take 5 minutes or so for the application to be fully deployed and working. If it still isn't ready
after 5 minutes, there may be something wrong with the ECS task. You will need to go to the integration AWS account
to debug, or otherwise ask an infrastructure person.

For the sign in details and more information, see the review apps wiki page.

@lfdebrux lfdebrux enabled auto-merge July 29, 2025 12:50
lfdebrux added 2 commits July 29, 2025 15:50
Bumps [bundler](https://bundler.io/) from 2.6.3 to 2.7.1.

When using the latest version of RubyGems with Bundler 2.6.3 a number of
`redefined constant` errors are emitted, so this commit bumps Bundler.

- [Release notes](https://github.com/rubygems/rubygems/releases/tag/bundler-v2.7.1)
- [Changelog](https://github.com/rubygems/rubygems/blob/bundler-v2.7.1/bundler/CHANGELOG.md)
- [Commits](ruby/rubygems@bundler-v2.6.3...bundler-v2.7.1)

Note that this bump drops support for Ruby 3.1.
The latest version of Bundler was complaining that

    Platform :mingw, :x64_mingw is deprecated. Please use platform :windows instead.

This commit updates the line for the debug gem in to oblige it. This
should work with all installations of this app, since Bundler will
always install the version of Bundler specified in the lockfile before
proceeding.

We also add `require: "debug/prelude"` to the line for the debug gem to
match what is generated by `rails new` (see [[1]]); this might also give
a small speedup.

[1]: rails/rails@7254549
@lfdebrux lfdebrux merged commit e017ff4 into main Jul 29, 2025
9 of 10 checks passed
@lfdebrux lfdebrux deleted the bump-bundler branch July 29, 2025 12:54
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