Skip to content

Instantly share code, notes, and snippets.

@jjb
Last active September 24, 2022 20:54
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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