Search code examples
textmate2

Configure Textmate 2 for rbenv


What is the best way to setup Textmate 2 to use rbenv?

I read a Textmate mailing list thread about setting up rbenv but haven't found the right solution yet.


Solution

  • Update your ~/.tm_properties to include:

    TM_RUBY = "$HOME/.rbenv/shims/ruby"
    PATH = "$HOME/.rbenv/bin:$PATH"
    

    Thanks to uberfork for this helpful article: Integrate rbenv with Textmate.