<div>Hi again Phil,</div>RVM/textmate interface can be tricky to set up. How about just feeding the path to the version you want to use directly to the TM_RUBY variable. So for instance, use the full path for the ruby you want textmate to use, rather than relying on the rvm-auto-ruby to tell it.<div>
<br></div><div>TM_RUBY  /Users/timrand/.rvm/rubies/macruby-0.10/bin/ruby</div><div><br></div><div>Be sure to uncheck any other TM_RUBY variables that you have listed. Only check the one that you want to use immediately. Then try the following in a textmate window:</div>
<div>p RUBY_VERSION</div><div><br></div><div>in textmate and look at the output to verify the correct version is being used. See the line in the purple region of the output screen it reads "macruby"</div><div>Regards,</div>
<div>Tim</div><div><br></div><div><br></div><div><br><div class="gmail_quote">On Mon, Nov 14, 2011 at 2:04 PM, Phil Dobbin <span dir="ltr"><<a href="mailto:phildobbin@gmail.com">phildobbin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 14/11/11 21:04, "Tim Rand" <<a href="mailto:timrandg@gmail.com">timrandg@gmail.com</a>> wrote:<br>

<br>
> Preferences>Advanced>Shell Variables<br>
><br>
> add the following variable/value pair:<br>
><br>
> TM_RUBY   /Path/to/ruby<br>
><br>
> if you use ruby version manager you can add:<br>
><br>
> TM_RUBY   /Users/username/.rvm/bin/rvm-auto-ruby<br>
><br>
> which will automatically detect which version RVM is set to use and use that<br>
> one in textmate.<br>
<br>
</div>Hi, Tim.<br>
<br>
It still doesn't see the rvm version & returns the System version.<br>
<br>
I'm getting:<br>
<br>
`/usr/local/rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/open3.rb:202: warning:<br>
Insecure world writable dir /usr/local in PATH, mode 04077`<br>
<br>
But that's because I chmod'd a couple of Cache directories in /usr/local/ to<br>
777 so they could be writable to by apapche 2.2. I don't think that can be<br>
the cause because I did the same in /opt/local/ where my working copy of<br>
perl is & TM returns any output from any script fine if I supply the correct<br>
shebang line `/opt/local/bin/perl`<br>
<br>
Puzzled...<br>
<br>
Cheers,<br>
<br>
    Phil.<br>
<div class="HOEnZb"><div class="h5">--<br>
Nothing to see here... move along, move along<br>
<br>
<br>
_______________________________________________<br>
textmate mailing list<br>
<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
<a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
</div></div></blockquote></div><br></div>