This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
message()
public
The error message
for the missing dependency, including the specifications that had this
dependency.
# File lib/bundler/vendor/molinillo/lib/molinillo/errors.rb, line 27
def message
sources = required_by.map { |r| "`#{r}`" }.join(' and ')
message = "Unable to find a specification for `#{dependency}`"
message += " depended upon by #{sources}" unless sources.empty?
message
end