Matt

which ruby gives me:
/usr/local/bin/ruby (both terminal and Iterm)

echo $PATH results in:
/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin (iterm)
or
/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin (Terminal)

Sorry for the cross post, but
I was unsure if there weren't 2 separate issues (screwy textmate or screwy shell variables), since I can run programs from the command line (with some weird behavior), but not from textmate....

Thanks !

On 4/23/07, Matt Neuburg <matt@tidbits.com> wrote:
On 4/23/07 6:52 AM, in article
fa09ca6d0704230652o573b3cavaaf77f648cbbdb3d@mail.gmail.com, "charles snyder"
< clsnyder@gmail.com> wrote:

> I installed  ruby 1.8.5 and rails on mac osX  10.4.9 via darwinports.
> Ever since, using the run command (cmd-R) for ruby programs from
> textmate (latest version) gives me:
>
> "/bin/bash: line 4: Sat Apr 21 17:18:00 CDT 2007 /usr/local/bin/ruby:
> No such file or directory"
>
> Interestingly, I get the same message if I try to run a python program
> from textmate as well.
>
> There is a file 'ruby' in /usr/local/bin/ and a file 'ruby' in /usr/
> bin/ruby
>
> From the command line, "whereis ruby" gives me /usr/bin/ruby

But what does "which ruby" say?

Also, what does "echo $PATH" say?

m.

--
matt neuburg, phd = matt@tidbits.com, < http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119 >




______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate