method
resolve_path
ruby latest stable - Class:
Bundler::SharedHelpers
resolve_path(path)private
No documentation available.
# File lib/bundler/shared_helpers.rb, line 366
def resolve_path(path)
expanded = File.expand_path(path)
return expanded unless File.respond_to?(:realpath) && File.exist?(expanded)
File.realpath(expanded)
end