fixed Ruby engine error (issue #33)
(sf.net r417)