An annoying little thingy (bug?):
When building ruby-1.6.8 on my cygwin environment, make test fails if
the --with-default-kcode=utf8 switch is set. The message is:
not ok system 9 – …/ruby-1.6.8/sample/test.rb:
1027 test failed
Corresponding section of test.rb runs “valid_syntax?
open(script).read” on every script in the distribution, and the
problem is caused by the line 15 in sample/mine.rb, which prints some
text in Kanji. Actually this script has “-Ke” option in its first
line. It seems that setting the default-kcode during compilation
overrides -K switch and/or it is ignored by valid_syntax? method.
Should it be fixed or I misunderstand something?
···
–
Nothing is sacred. Even those who arrange and design shrubberies
are under considerable economic stress at this point in time.