<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">charles,<DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-style-span">see the <B>Important</B> note at the bottom of this page: <A href="http://macromates.com/textmate/manual/shell_commands">http://macromates.com/textmate/manual/shell_commands</A></SPAN></DIV><DIV><SPAN class="Apple-style-span"><DIV><DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>does that help?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>–Alex</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>On Apr 23, 2007, at 6:52 AM, charles snyder wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Hi<BR><BR>I installed  ruby 1.8.5 and rails on mac osX  10.4.9 via darwinports.<BR>Ever since, using the run command (cmd-R) for ruby programs from<BR>textmate (latest version) gives me:<BR><BR>"/bin/bash: line 4: Sat Apr 21 17:18:00 CDT 2007 /usr/local/bin/ruby: <BR>No such file or directory"<BR><BR><BR>Interestingly, I get the same message if I try to run a python program<BR>from textmate as well.<BR><BR>There is a file 'ruby' in /usr/local/bin/ and a file 'ruby' in /usr/ <BR>bin/ruby<BR><BR>From the command line, "whereis ruby" gives me /usr/bin/ruby<BR><BR>Additionally, if I do the following:<BR>>> 1.  Open a new TM document<BR>>> 2.  Type echo $HOME<BR>>> 3.  Press control-R on that line of shell code <BR><BR>I get:<BR><BR>/Users/charleslsnyder<BR><BR><BR>I previously posted this in the ruby group, but it is really a textmate problem, and it was suggested I move the question to this group...<BR><BR><BR>TIA<BR><BR>C L Snyder<DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">______________________________________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">For new threads USE THIS: <A href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(threading gets destroyed and the universe will collapse if you don't)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></SPAN><BR class="khtml-block-placeholder"></DIV></BODY></HTML>