[webkit-help] Symbol lookup error when running tests / DumpRenderTree

Benoit Jacob jacob.benoit.1 at gmail.com
Thu Dec 17 06:09:10 PST 2009


2009/12/17 Osztrogonac Csaba <oszi at inf.u-szeged.hu>:
> 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.

OK, good to know!
Thanks,
Benoit

>
> 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
>
>


More information about the webkit-help mailing list