change hashbang to /usr/bin/env ruby

In my deploy with Apache 2.2, phassenger & rvm, the check script won't work unless these changes are used.