Bug #2336: pathname compare fails in windows
http://redmine.ruby-lang.org/issues/show/2336

Author: Roger Pack
Status: Open, Priority: Normal
ruby -v: ruby 1.9.2dev (2009-10-26 trunk 25491) [i386-mingw32]

>> Pathname.new('c:/').relative_path_from Pathname.new('/')
ArgumentError: different prefix: "c:/" and "/"
        from C:/installs/ruby191p243p2/lib/ruby/1.9.1/pathname.rb:742:in
`relative_path_from'
        from (irb):4
        from C:/installs/ruby191p243p2/bin/irb:12:in `<main>'

ref:
http://www.ruby-forum.com/topic/198562#new
Thanks.
-r


----------------------------------------
http://redmine.ruby-lang.org