Created
May 30, 2012 15:22
-
-
Save rboyd/2836977 to your computer and use it in GitHub Desktop.
sublime text run spec through rvm
This file contains 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
http://upstre.am/blog/2011/07/sublime-text-2-with-rvm-on-osx/ | |
It's even easier as rvm already ships with a wrapper located in ~/.rvm/bin/rvm-auto-ruby. So you just need to edit the Ruby.sublime-build to this: | |
{ "cmd": ["~/.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