Usage: tail -f production.log | thisfile.rb

Output:

1138 completed requests. 328.0 average response time. Response code counts: [302:182, 200:920, 404:33]