Pathname bug on Windows box?

— test.rb —
require ‘pathname’
— test.rb —

always produces:

c:/ruby/lib/ruby/1.8/pathname.rb:341:in lstat': Invalid argument - /c: (Errno::EINVAL) from c:/ruby/lib/ruby/1.8/pathname.rb:341:inrealpath’
from test.rb:2

any ideas? seems like Pathname doesn’t support windows at all?

where to submit this kind of bugs?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs