When I set up Signal as described and start a build, I get the output "sh: rake: not found".
Seems like "Kernel.system" cannot access my PATH. When I replace "rake" with "/opt/ruby-enterprise-1.8.6-20090610/bin/rake", I get an error message that the gem flog is not found when the metrics are build, although the gem is installed. When I execute the "rake build" command from the command line, everything works fine.