From: james@... (James Adam) Date: 2003-02-14T08:10:42+09:00 Subject: Ruby 1.8.0 bugs Can anyone confirm these bugs i've noticed in Ruby-1.8.0 on cygwin? 1) line numbers reported by error messages are too small. i.e., with the following script: == begin script, with line numbers == |(1)| 1+3 |(2)| 4+6 |(3)| |(4)| 7+5 |(5)| |(6)| |(7)| 7+e3r2 == end script == i get the following error message: test.rb:5: undefined local variable or method 'e3r2' ... when you have comments in your code, it gets even more confusing. 2) file reading/writing is inconsistent. using puts to write strings to a file gives a file with CR+LF line endings, but gets and all other line-reading methods from I/O only operate properly with LF line-terminated files. If the file uses CR+LF, the first character of the line is read in as part of previous line. am i going mad? i really should've stuck with ruby 1.7, but the temptation to play with new things was too great, and now i've got fox/fxruby extensions installed it will take forever to recompile them and reinstall them into a 1.7 system. pleeeeeeeeeeeeeease help. cheers james