I\'ve fired up an instance of GitHub Enterprise (11.10.272) and created a repository. I\'ve written a pre-receive hook in Ruby which I\'d like to use with that repository.>
I know that this is really old, but GitHub Enterprise 2.6 just came out with pre-receive hooks. More information can be learned here: https://help.github.com/enterprise/admin/guides/developer-workflow/using-pre-receive-hooks-to-enforce-policy/.
I'm fairly certain this will perfectly align with the things you are looking for. Hopefully this either helps OP, or anyone else who stumbles upon this later!