[rubygems/rubygems] All supported rubies have File.realpath
https://github.com/rubygems/rubygems/commit/c60ed4878c
This commit is contained in:
parent
f4009566af
commit
479ba9a44b
Notes:
git
2022-04-28 19:09:14 +09:00
@ -325,7 +325,7 @@ module Bundler
|
||||
|
||||
def resolve_path(path)
|
||||
expanded = File.expand_path(path)
|
||||
return expanded unless File.respond_to?(:realpath) && File.exist?(expanded)
|
||||
return expanded unless File.exist?(expanded)
|
||||
|
||||
File.realpath(expanded)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user