Adding ruby pre-commit script.