mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue