Adding a ruby require_cmd as an TextMate API function. TextMate.require_cmd("foo") will return nil if "foo" is on the path. If "foo" is not on the path, then TextMate.require_cmd will print out an html error page, and call TextMate.exit_show_html. Changed: A trunk/Support/lib/tm/require_cmd.rb