Created
December 6, 2012 21:36
-
-
Save Hengjie/4228705 to your computer and use it in GitHub Desktop.
Sublime Text 2 with 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
Show hidden characters
// Sublime Text 2 (on Mac OSX) with RVM | |
// This file: /Users/YOUR_USERNAME/Library/Application Support/Sublime Text 2/Packages/Ruby/Ruby.sublime-build | |
// Thanks to: http://rubenlaguna.com/wp/2012/02/01/sublime-text-2-rvm-rspec/index.html#comment-605225107 | |
{ | |
"env": { | |
"PATH": "${HOME}/.rvm/bin:${PATH}" | |
}, | |
"cmd": ["rvm-auto-ruby", "$file"], | |
"file_regex": "^(...*?):([0-9]*):?([0-9]*)", | |
"selector": "source.ruby", | |
"working_dir": "${file_path}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment