Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem::BundlerVersionFinder.lockfile_version
lockfile_version
lib/rubygems/bundler_version_finder.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/bundler_version_finder.rb, line 40
def self.lockfile_version
return unless contents = lockfile_contents
regexp = /\n\nBUNDLED WITH\n\s{2,}(#{Gem::Version::VERSION_PATTERN})\n/
return unless contents =~ regexp
$1
end
No documentation available
See also
.lockfile_contents
.prioritize!
.bundle_update_bundler_version
also in
4.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0