ruby and shell scripts