While looking at this issue, I see that the solution offered doesn't follow a chain of symlinks/regular links.
How can I do that with Ruby?
While looking at this issue, I see that the solution offered doesn't follow a chain of symlinks/regular links.
How can I do that with Ruby?
You could try:
require 'pathname'
Pathname.new("/path/to/symlink").realpath.to_s