Configure Textmate 2 for rbenv

前端 未结 4 1760
旧巷少年郎
旧巷少年郎 2020-12-17 03:17

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.

4条回答
  •  抹茶落季
    2020-12-17 03:46

    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.

提交回复
热议问题