[TxMt] Re: Upgrading Ruby Bundle to use Ruby1.9

Conrad Taylor conradwt at gmail.com
Mon Feb 15 09:32:56 UTC 2010


On Mon, Feb 15, 2010 at 12:51 AM, Adam Sharp <adsharp at me.com> wrote:

> On 15/02/2010, at 7:31 PM, Josh Cheek wrote:
>
> > Hmm, it seems that if I run TextMate from the command line, then it finds
> the
> > correct version, but if I run it from Applications folder, Spotlight, or
> Quicksilver,
> > then it always pulls up the the system version (1.8.6)
> >
> > Is there an easy way to remedy this? If not, I can just always run it
> from the
> > command line.
>
> Have a look at this blog post:
>
> http://justaddwater.dk/2009/03/10/textmate-path-modification-ruby-version-issues/
>
> Make sure your that you set PATH in TextMate's Preferences (Advanced ->
> Shell
> Variables) to reflect what you have in Terminal.app. You can also try
> setting
> TM_RUBY to the full path of the version of Ruby that you wish to use.
>
> Good luck!
>
> --
> Adam Sharp
> Email: adsharp at me.com
> Web: www.adam-sharp.net
>
>
@Adam - Josh wants Textmate to reference the correct Ruby version when he
switches
it on the command line using RVM.  Thus, he doesn't want to hard-code any
particular version.

@Josh - I'm able to access the correct Ruby version from the command as well
as the Dock.
Thus, try moving Textmate to the Dock.

-Conrad



> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20100215/30422e7f/attachment.html>


More information about the textmate mailing list