class method
Gem::BundlerVersionFinder.lockfile_version
lockfile_version
lib/rubygems/bundler_version_finder.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/bundler_version_finder.rb, line 43
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 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0