On Mon, Feb 15, 2010 at 12:51 AM, Adam Sharp <span dir="ltr"><<a href="mailto:adsharp@me.com">adsharp@me.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 15/02/2010, at 7:31 PM, Josh Cheek wrote:<br>
<br>
> Hmm, it seems that if I run TextMate from the command line, then it finds the<br>
> correct version, but if I run it from Applications folder, Spotlight, or Quicksilver,<br>
> then it always pulls up the the system version (1.8.6)<br>
><br>
> Is there an easy way to remedy this? If not, I can just always run it from the<br>
> command line.<br>
<br>
</div>Have a look at this blog post:<br>
<a href="http://justaddwater.dk/2009/03/10/textmate-path-modification-ruby-version-issues/" target="_blank">http://justaddwater.dk/2009/03/10/textmate-path-modification-ruby-version-issues/</a><br>
<br>
Make sure your that you set PATH in TextMate's Preferences (Advanced -> Shell<br>
Variables) to reflect what you have in Terminal.app. You can also try setting<br>
TM_RUBY to the full path of the version of Ruby that you wish to use.<br>
<br>
Good luck!<br>
<font color="#888888"><br>
--<br>
Adam Sharp<br>
Email: <a href="mailto:adsharp@me.com">adsharp@me.com</a><br>
Web: <a href="http://www.adam-sharp.net" target="_blank">www.adam-sharp.net</a><br>
</font><div><div></div><div class="h5"><br></div></div></blockquote><div><br></div><div>@Adam - Josh wants Textmate to reference the correct Ruby version when he switches</div><div>it on the command line using RVM.  Thus, he doesn't want to hard-code any particular version.</div>
<div><br></div><div>@Josh - I'm able to access the correct Ruby version from the command as well as the Dock.</div><div>Thus, try moving Textmate to the Dock.</div><div><br></div><div>-Conrad</div><div><br></div><div>
 </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5">
_______________________________________________<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>