[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Pathname bug on Windows box?

Mirek

4/4/2006 9:03:00 AM


--- test.rb ---
require 'pathname'
puts Pathname.new('.').realpath
--- 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:in `realpath'
from test.rb:2

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

where to submit this kind of bugs?

--
Posted via http://www.ruby-....