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 B.
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: [email protected] mailto:[email protected]
www.napa.fi http://www.napa.fi/