From: Usaku NAKAMURA Date: 2009-11-30T12:00:07+09:00 Subject: [ruby-core:26951] [Feature #2408](Open) better error reporting in windows when you try to run a directory Issue #2408 has been updated by Usaku NAKAMURA. Status changed from Assigned to Open Assigned to deleted (Usaku NAKAMURA) On some platforms which allow to read directory entry, such errors occurs. % ruby18 tmp tmp:1: Invalid char `\027' in expression tmp:1: Invalid char `\001' in expression % ruby19 tmp tmp:1: Invalid char `\x17' in expression tmp:1: Invalid char `\x01' in expression tmp:1:in `
': undefined local variable or method `xy' for main:Object (NameError) So, this is not Windows issue. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2408 ---------------------------------------- http://redmine.ruby-lang.org