# File rubygems/bundler_version_finder.rb, line 4defself.bundler_versionv = ENV["BUNDLER_VERSION"]
v||=bundle_update_bundler_versionreturnifv==truev||=lockfile_versionreturnunlessvGem::Version.new(v)
end
prioritize!(specs)click to toggle source
# File rubygems/bundler_version_finder.rb, line 16defself.prioritize!(specs)
exact_match_index = specs.find_index {|spec|spec.version==bundler_version }
returnunlessexact_match_indexspecs.unshift(specs.delete_at(exact_match_index))
end