ok.. I added TM_RUBY to the shell vars.. works now.

thanks again.



On 1/17/07, aaron smith < beingthexemplarylists@gmail.com> wrote:
Thanks.. Yes I installed ruby in /usr/local/ when I perform a which. It says /usr/local/bin/ruby.

When I get that error from the subversion bundle.. it says it even searched /usr/local/bin/ - shouldn't it have foudn ruby?

looking into what you sent..

-a


On 1/17/07, Grant Hollingworth < grant@antiflux.org> wrote:
* aaron smith < beingthexemplarylists@gmail.com > [2007-01-17 09:38]:
>it's weird.. if I run ruby from the command line or irb it works fine.. But
>textmate compains about not finding it. (when using the Subversion bundle).
>Textmate says it's searching all these different directories (one happens to
>actally have ruby in it). but Textmat still can';t find it..

http://macromates.com/textmate/manual/shell_commands#search_path
See especially the paragraph marked "Important".

The easiest fix for Ruby is to add a TM_RUBY environment variable in TextMate's preferences (under Advanced → Shell Variables).

>on other thing I noticed.. is that if i do a >>whereis ruby<< it doesnt show
>anything.. I'm thinking that's the problem but how do I fix it..

That is odd.  whereis reports /usr/bin/ruby on my machine, which is Apple's stock Ruby.  whereis only searches standard directories.  If you try 'which ruby' instead, it should find the version you installed.

______________________________________________________________________
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