From: Roger Pack Date: 2009-11-05T04:48:46+09:00 Subject: [ruby-core:26540] [Bug #2336] pathname compare fails in windows 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 `
' ref: http://www.ruby-forum.com/topic/198562#new Thanks. -r ---------------------------------------- http://redmine.ruby-lang.org