Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

class method

Gem::BundlerVersionFinder.bundle_config_version

bundle_config_version

BUNDLE_VERSION is read before the config files here, unlike everywhere else in Bundler, so the env var alone is enough to pick the version that runs without editing a config file first.