engineyard/engineyard-serverside — pull request #88 by ryansouza (2014-02-13 00:42:43+00:00)
Title: Use current ruby to syntax check deploy hooks

Shelling out to just `ruby` fails if there is no system-wide ruby
installed, and the ruby running serverside is not in the PATH.

Using the current ruby also makes sure that deploy hooks are syntax
checked with the version they will actually be ran with.