It looks like gedit isn't in a directory in the path. Bash gives that error message when it can't find the command, and it only looks in the path, and not in the current directory. You could change the path or move the gedit binary, whichever you prefer, or you can simply give the full path to it on the command line when you invoke it, like
Code:
/path/to/binary/gedit simple.tcl
If that doesn't work, you have something more serious wrong, such as gedit not being actually installed, or something borked in your system.