add precommit hook that runs rake spec