use the PATH to find ruby

Instead of hard-coding the path to ruby, it should be discovered by using the `/bin/env` command so that this plugin is compatible with Puppet Enterprise which stores Ruby at /opt/puppet/bin/ruby.