Hello,
I can't get zabcon revision 172 to work.
I've compiled ruby 1.9.1 from source, updated rubygems to 1.3.6 and installed all required packages.
When I run zabcon, it gives the following errors and then stops.
Anyone seen this before or know how to solve this?
Thanx.
I can't get zabcon revision 172 to work.
I've compiled ruby 1.9.1 from source, updated rubygems to 1.3.6 and installed all required packages.
When I run zabcon, it gives the following errors and then stops.
Code:
/tmp/zabcon # ./zabcon
/tmp/zabcon/libs/printer.rb:93: warning: else without rescue is useless
./zabcon:33:in `require': /tmp/zabcon/libs/printer.rb:85: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n' (SyntaxError)
when "String": retval=item.length
^
/tmp/zabcon/libs/printer.rb:86: syntax error, unexpected keyword_when, expecting keyword_end
when "Fixnum": retval=item.to_s.length
^
/tmp/zabcon/libs/printer.rb:86: syntax error, unexpected ':', expecting keyword_end
when "Fixnum": retval=item.to_s.length
^
/tmp/zabcon/libs/printer.rb:87: syntax error, unexpected keyword_when, expecting keyword_end
when "Float": retval=item.to_s.length
^
/tmp/zabcon/libs/printer.rb:87: syntax error, unexpected ':', expecting keyword_end
when "Float": retval=item.to_s.length
^
/tmp/zabcon/libs/printer.rb:88: syntax error, unexpected keyword_when, expecting keyword_end
when "Hash": retval=hash_width(item)
^
/tmp/zabcon/libs/printer.rb:88: syntax error, unexpected ':', expecting keyword_end
when "Hash": retval=hash_width(item)
^
/tmp/zabcon/libs/printer.rb:89: syntax error, unexpected keyword_when, expecting keyword_end
when "Array": retval=array_width(item)
^
/tmp/zabcon/libs/printer.rb:89: syntax error, unexpected ':', expecting keyword_end
when "Array": retval=array_width(item)
^
/tmp/zabcon/libs/printer.rb:149: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when "Hash": return format_hash_for_print(item)
^
/tmp/zabcon/libs/printer.rb:150: syntax error, unexpected keyword_else, expecting keyword_end
/tmp/zabcon/libs/printer.rb:154: syntax error, unexpected keyword_end, expecting $end
from ./zabcon:33:in `<main>'
Thanx.

Comment