Skip to content

Instantly share code, notes, and snippets.

@jjb
Last active July 20, 2024 18:17
Show Gist options
  • Save jjb/7175694 to your computer and use it in GitHub Desktop.
Save jjb/7175694 to your computer and use it in GitHub Desktop.
How to configure Textmate to use the rbenv ruby and gems
  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 is selected)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment