#!/bin/sh# Author: Christoph Galuschka <christoph.galuschka@chello.at> t_Log "Running $0 - ruby can run 'hello world'" # create ruby scriptFILE=/var/tmp/test.rbcat > $FILE <<EOF#!/usr/bin/ruby# Hello world ruby programputs "hello world";EOF ruby $FILE | grep -q 'hello world' t_CheckExitStatus $? # and clean up/bin/rm ${FILE}