Hi Benoit,
The run-webkit-tests script doesn't work with Ruby 1.9,
you should install and use Ruby 1.8. Unfortunately it
is an undocumented "feauture" as far as I remember.
br,
Ossy
Benoit Jacob írta:
Now I have a Ruby error in many tests:
/home/bjacob/WebKit/BugsSite/PrettyPatch/PrettyPatch.rb:297:in
`parse': undefined method `inject' for #<String:0x00000001395260>
(NoMethodError)
from /home/bjacob/WebKit/BugsSite/PrettyPatch/PrettyPatch.rb:15:in
`prettify'
from BugsSite/PrettyPatch//prettify.rb:26:in `<main>'
.
My Ruby version is 1.9.1.
The "faulty" line of Ruby code is:
linesForDiffs = string.inject([]) do |diffChunks, line|
Googling suggests that problems with inject on strings with Ruby 1.9
are common, but I'm illiterate in Ruby. Can you help me?
Benoit
_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help