Restore hooks PATH before calling ruby.
Merge pull request #186 from cirosantilli/restore-path

Restore hooks PATH before calling ruby.