Bug #1266: relative_path broken on windows
http://redmine.ruby-lang.org/issues/show/1266

Author: Charlie Savage
Status: Open, Priority: Normal
Target version: 1.9.1
ruby -v: ruby 1.9.2dev (2009-03-06) [i386-mswin32_90]

pwd = Pathname.new("C:/Development/src/ruby_trunk/test/minitest")
basedir = Pathname.new("c:/Development/ruby-1.9.1/usr/lib/ruby/1.9.1/mini")
basedir.relative_path_from(pwd)

ArgumentError: different prefix: "c:/" and "C:/Development/src/ruby_trunk/test/minitest"
        from c:/Development/ruby/lib/ruby/1.8/pathname.rb:709:in `relative_path_from'

This breaks running the ruby tests on windows.


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