[TxMt] textmate can't find ruby.

aaron smith beingthexemplarylists at gmail.com
Wed Jan 17 16:50:22 UTC 2007


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 at antiflux.org> wrote:
>
> * aaron smith <beingthexemplarylists at 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 at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20070117/fab6a176/attachment.html>


More information about the textmate mailing list