This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
search_for(dependency)
public
(see Bundler::Molinillo::SpecificationProvider#search_for)
# File lib/bundler/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb, line 9
def search_for(dependency)
with_no_such_dependency_error_handling do
specification_provider.search_for(dependency)
end
end