Bugs item #2786, was opened at 2005-11-07 19:21
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=2786&group_id=426

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Len Lattanzi (zardoz)
Assigned to: Nobody (None)
Summary: Pathname.realpath fails on non-existant path

Initial Comment:
$ ruby -w -r pathname -e 'puts Pathname.new(ARGV[0]).realpath'  /asdfasdf
/usr/lib/ruby/1.8/pathname.rb:341:in `lstat': No such file or directory - /asdfasdf (Errno::ENOENT)
        from /usr/lib/ruby/1.8/pathname.rb:341:in `realpath'
        from -e:1

other realpath implementations like readlink -f and FreeBSD realpath will just echo the path.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=2786&group_id=426