-
-
Save leemour/5976236 to your computer and use it in GitHub Desktop.
Sublime use rvm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
# Get Sublime to use your rvm ruby... Change your Packages/Ruby/Ruby.sublime-build to this, | |
# or drop it in Packages/User: | |
{ | |
"env":{ | |
"PATH":"/home/leemour/.rvm/bin:${PATH}" | |
}, | |
"cmd": [ | |
"/home/leemour/.rvm/bin/rvm-auto-ruby", "$file" | |
], | |
"file_regex": "^(...*?):([0-9]*):?([0-9]*)", | |
"selector": "source.ruby" | |
} | |
# Use with bundle exec | |
{ | |
"cmd": [ | |
"bundle", "exec", "$HOME/.rvm/bin/rvm-auto-ruby", "$file" | |
] | |
"file_regex": "^(...*?):([0-9]*):?([0-9]*)", | |
"selector": "source.ruby" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment