Thank you so much for your assistance.  The target of the symlink 
definitely exists.  In fact:

Pathname.new("/path/to/symlink/file.mp3").realpath => 
/path/to/target/of/symlink.mp3

With either:
Pathname("/#{Dir.home}/.ANDROIDMUSIC").each_entry {|entry| p 
entry.realdirpath }

or

Dir.foreach("#{Dir.home}/.ANDROIDMUSIC/") { |entry| puts 
Pathname(entry).realdirpath }

No error is returned but the output is unexpected.  What is returned is 
a path that does not exist.  In essence it gives the path of the 
directory from which I am running the script in the terminal, that path 
with each filename appended, and the path of the parent directory.  The 
middle entry does not really exist.  So you're correct that the path 
does not exist, but the script is somehow making it up, while the 
symlink actually points to a real path.  Thanks again for your help.

-- 
Posted via http://www.ruby-forum.com/.