[TxMt] Re: TM2 with rbenv

 姜 源 sleetdrop at gmail.com
Mon Feb 27 16:05:25 UTC 2012


Thanks for your reply, here is my configuration of .tm_properties

TM_RUBY=/Users/jiangyuan/.rbenv/shims/rbenv-auto-ruby
RBENV_VERSION=1.9.3-p125

When I run the demo script via Command + R, Textmate2 just uses system default ruby 1.8.7, while when I run the script in Terminal, it can use  rbenv's ruby 1.9.3




在 2012-2-26,上午9:59, Allan Odgaard 写道:

> On 21/02/2012, at 10.51,  姜 源 wrote:
> 
>> I find this url to use rbenv in textmate, 
>> 
>> http://uberfork.com/post/12280974742/integrate-rbenv-with-textmate
>> 
>> but it doesn't work for textmate2
> 
> I don’t see anything there which wouldn’t also apply to TextMAte 2.
> 
> While I would suggest putting the variables in .tm_properties (which also allow easy project-specific ruby version), using the global variables should also work.
> 
>> Anyone knows how to config rbenv to with with textmate2 ?
> 
> Perhaps you can give some details on which problem you ran into (and how you set it up)?
> 
> 
> _______________________________________________
> 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/20120228/1ea007b4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: h.rb.jpg
Type: image/jpg
Size: 62918 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20120228/1ea007b4/attachment-0001.jpg>


More information about the textmate mailing list