On Thu, Aug 7, 2008 at 4:25 PM, James Gray <james@grayproductions.net> wrote:
On Aug 7, 2008, at 4:17 PM, Tim O'Leary wrote:

> On Thu, Aug 7, 2008 at 3:53 PM, James Gray
> <james@grayproductions.net> wrote:
> On Aug 7, 2008, at 1:48 PM, Tim O'Leary wrote:
>
> > Can anyone tell me how to fix this error:  /tmp/
> > temp_textmate.KNOfLq: line 6: : command not found
>
> What does TextMate say if you enter this line into a blank document
> and push control-r?
>
>   ruby -e 'puts "Hello"'
>
> James Edward Gray II
>
> Hi James,
> It says:  /tmp/temp_textmate.0vXuKF: line 6: : command not found
> If I watch the /tmp directory while executing it.  The
> temp_textmate.xxxx file is created and disappears in about a second

OK, so it looks like TextMate can't see your Ruby.  I think you want
to read this page (especially the "important" paragraph):

http://manual.macromates.com/en/shell_commands#search_path

The "important" paragraph solved it.  I had edited (i.e. messed up) the environment.plist while adding to the path.

Thanks, James!

--
Tim

----------------------------------------------------------------------