Bundle install failing with bundler v4.x in Ruby Jekyll sites

After upgrading bundler to v4.0.0 in one of my Ruby/Jekyll projects, the Netlify builds are failing:

11:22:27 PM: Ruby version set to 3.4
11:22:27 PM: Using Bundler version 4.0.0 from Gemfile.lock
11:22:28 PM: Failed during stage 'Install dependencies': dependency_installation script returned non-zero exit code: 1
11:22:28 PM: Successfully installed bundler-4.0.0
11:22:28 PM: 1 gem installed
11:22:28 PM: Installing gem bundle
11:22:28 PM: The `--path` flag has been removed because it relied on being remembered across
11:22:28 PM: bundler invocations, which bundler no longer does. Instead please use `bundle
config set path '/opt/build/cache/bundle'`, and stop using this flag
11:22:28 PM: Error during gem install
11:22:28 PM: Failing build: Failed to install dependencies

This is not a big issue for me at the moment, I can live with bunder v2.x for now. Perhaps you can accommodate the new changes in the meantime. With bunder v2.x, the build is working; the deprecation notice is there too:

11:25:04 PM: Ruby version set to 3.4
11:25:04 PM: Using Bundler version 2.7.2 from Gemfile.lock
11:25:04 PM: Started restoring cached ruby gems
11:25:04 PM: Finished restoring cached ruby gems
11:25:04 PM: Installing gem bundle
11:25:04 PM: [DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set path '/opt/build/cache/bundle'`, and stop using this flag
11:25:04 PM: [DEPRECATED] The --binstubs option will be removed in favor of `bundle binstubs --all`
11:25:07 PM: Fetching gem metadata from https://rubygems.org/.........

Thank you!

Apologies for the delay on this one. Which site is this about?