Created
January 4, 2013 18:07
-
-
Save beaudierman/4454618 to your computer and use it in GitHub Desktop.
Integrate RVM with Sublime Text 2 on Mac OS X
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
# Source: http://bit.ly/WiEa5q | |
# Confirmed working on Mac OS X Mountain Lion(v10.8.2) | |
# Open ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Ruby/Ruby.sublime-build | |
# Change the contents to match the following: | |
{ | |
"env":{ | |
"PATH":"${HOME}/.rvm/bin:${PATH}" | |
}, | |
"cmd": ["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