Wesley Wong
unread,Jun 14, 2010, 1:23:43 PM6/14/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Rackamole
Hi,
I'm trying to run wackamole 0.1.3 in ruby 1.9.1 and I'm getting an
error:
F, [2010-06-14T10:19:59.203531 #7441] FATAL -- : /var/lib/gems/1.9.1/
gems/wackamole-0.1.3/lib/wackamole/models/mole_info.rb:60: syntax
error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when Rackamole.feature : hour_info[hour][:feature] += 1
^
/var/lib/gems/1.9.1/gems/wackamole-0.1.3/lib/wackamole/models/
mole_info.rb:61: syntax error, unexpected keyword_when, expecting
keyword_end
when Rackamole.perf : hour_info[hour][:perf] += 1
^
/var/lib/gems/1.9.1/gems/wackamole-0.1.3/lib/wackamole/models/
mole_info.rb:61: syntax error, unexpected ':'
when Rackamole.perf : hour_info[hour][:perf] += 1
^
/var/lib/gems/1.9.1/gems/wackamole-0.1.3/lib/wackamole/models/
mole_info.rb:62: syntax error, unexpected keyword_when, expecting
keyword_end
when Rackamole.fault : hour_info[hour][:fault] += 1
^
/var/lib/gems/1.9.1/gems/wackamole-0.1.3/lib/wackamole/models/
mole_info.rb:62: syntax error, unexpected ':'
when Rackamole.fault : hour_info[hour][:fault] += 1
^
/var/lib/gems/1.9.1/gems/wackamole-0.1.3/lib/wackamole/models/
mole_info.rb:68: syntax error, unexpected keyword_do_block, expecting
keyword_end
%w(user fault perf feature).each do |s|
^
/var/lib/gems/1.9.1/gems/wackamole-0.1.3/lib/wackamole/models/
mole_info.rb:71: syntax error, unexpected keyword_do_block, expecting
keyword_end
hour_info.values.map do |hash|
^
/var/lib/gems/1.9.1/gems/wackamole-0.1.3/lib/wackamole/models/
mole_info.rb:76: syntax error, unexpected keyword_end, expecting $end
end
^ (SyntaxError)
/var/lib/gems/1.9.1/gems/wackamole-0.1.3/lib/wackamole.rb:35:in
`require'
/var/lib/gems/1.9.1/gems/wackamole-0.1.3/lib/wackamole.rb:35:in `block
in require_all_libs_relative_to'
/var/lib/gems/1.9.1/gems/wackamole-0.1.3/lib/wackamole.rb:35:in `each'
/var/lib/gems/1.9.1/gems/wackamole-0.1.3/lib/wackamole.rb:35:in
`require_all_libs_relative_to'
/var/lib/gems/1.9.1/gems/wackamole-0.1.3/lib/wackamole.rb:47:in `<top
(required)>'
/var/lib/gems/1.9.1/gems/wackamole-0.1.3/bin/wackamole:22:in `require'
/var/lib/gems/1.9.1/gems/wackamole-0.1.3/bin/wackamole:22:in `run'
Any ideas?
Thanks,
Wesley