<div dir="ltr"><br><br><div class="gmail_quote">On Thu, Aug 7, 2008 at 4:25 PM, James Gray <span dir="ltr"><<a href="mailto:james@grayproductions.net">james@grayproductions.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Aug 7, 2008, at 4:17 PM, Tim O'Leary wrote:<br>
<br>
> On Thu, Aug 7, 2008 at 3:53 PM, James Gray<br>
> <<a href="mailto:james@grayproductions.net">james@grayproductions.net</a>> wrote:<br>
> On Aug 7, 2008, at 1:48 PM, Tim O'Leary wrote:<br>
><br>
> > Can anyone tell me how to fix this error: /tmp/<br>
> > temp_textmate.KNOfLq: line 6: : command not found<br>
><br>
> What does TextMate say if you enter this line into a blank document<br>
> and push control-r?<br>
><br>
> ruby -e 'puts "Hello"'<br>
><br>
> James Edward Gray II<br>
><br>
> Hi James,<br>
> It says: /tmp/temp_textmate.0vXuKF: line 6: : command not found<br>
> If I watch the /tmp directory while executing it. The<br>
> temp_textmate.xxxx file is created and disappears in about a second<br>
<br>
</div>OK, so it looks like TextMate can't see your Ruby. I think you want<br>
to read this page (especially the "important" paragraph):<br>
<br>
<a href="http://manual.macromates.com/en/shell_commands#search_path" target="_blank">http://manual.macromates.com/en/shell_commands#search_path</a><br>
<br>
</blockquote><div>The "important" paragraph solved it. I had edited (i.e. messed up) the environment.plist while adding to the path.<br><br>Thanks, James! <br></div></div><br>-- <br>Tim<br><br>----------------------------------------------------------------------<br>
</div>