Add a few ruby hooks