When running run-javascriptcore-tests with ruby version 2 installed, we get this error: Error: #<LoadError: cannot load such file -- highline> Tools/Scripts/run-jsc-stress-tests:330:in `block (4 levels) in <main>': invalid byte sequence in US-ASCII (ArgumentError) from Tools/Scripts/run-jsc-stress-tests:328:in `each_line' from Tools/Scripts/run-jsc-stress-tests:328:in `block (3 levels) in <main>' from Tools/Scripts/run-jsc-stress-tests:326:in `open' from Tools/Scripts/run-jsc-stress-tests:326:in `block (2 levels) in <main>' from Tools/Scripts/run-jsc-stress-tests:320:in `each' from Tools/Scripts/run-jsc-stress-tests:320:in `block in <main>' from Tools/Scripts/run-jsc-stress-tests:286:in `each' from Tools/Scripts/run-jsc-stress-tests:286:in `<main>' <rdar://problem/15010705>
Created attachment 211944 [details] Patch It appears that ruby version 2 uses the LANG environment variable to figure what character set to use when reading a file. Setting to a UTF8 language makes ruby happy.
Committed r155999: <http://trac.webkit.org/changeset/155999>