FileUtils.mv fails to move symlink between filesystems
FileUtils.mv sometimes fails with a "Errno::ENOENT: No such file or directory - /path/to/symlink" when attempting to move a directory containing a symlink between filesystems. This may be because it moves the destination file before the symlink and then fails to move a "broken" symlink. Using the shell's "mv" instead works reliably.
A small test script is attached.