Configure Textmate 2 for rbenv

前端 未结 4 1759
旧巷少年郎
旧巷少年郎 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:49

    The answers supplied here didn't work for me. Here's what did:

    1. Preferences -> Variables
    2. add this to the front of PATH: $HOME/.rbenv/bin:$HOME/.rbenv/shims:
    3. set TM_RUBY to this: $HOME/.rbenv/shims/ruby
    4. populate RBENV_VERSION with your version. example: 2.1.0-preview1
    5. (and make sure the checkboxes for each of those variables are selected)

提交回复
热议问题