Write git hooks with a uniform interface in Ruby, not bash