Add ruby version of trigger warning script for textual.