[Ironruby-core] Discrepancy in operation of File.exist

Robert Brotherus robert.brotherus at napa.fi
Tue Apr 15 04:15:25 EDT 2008


Consider simple file.rb:
 
    puts File.exist?("C:/work/napa.net/gui/bin/script")

 
There exists directory C:/work/napa.net/gui/bin/script
 
With C-ruby:
 
[11:11:29 ~/irb_test] ruby file.rb 
true
 
With IronRuby:

[11:11:35 ~/irb_test] rbx file.rb 
false

This discrepancy (among others) currently breaks the nice utility
find.rb
Robert Brotherus
Software architect
Napa Ltd
Tammasaarenkatu 3, Helsinki FI-00180
P.O.Box 470, Helsinki FI-00181

Tel. +358 9 22 813 1 
Direct. +358 9 22 813 611 
GSM +358 45 11 456 02 
Fax. +358 9 22 813 800 

Email: Robert.Brotherus at napa.fi <mailto:Robert.Brotherus at napa.fi>  
www.napa.fi <http://www.napa.fi/>  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20080415/4fe5bf34/attachment.html 


More information about the Ironruby-core mailing list