adding ruby pre-commit hook