Don't hard code ruby path

On FreeBSD, ruby is installed at /usr/local/bin/ruby. To make it more
portable, find ruby interpreter from env (PATH).