Skip to content

Instantly share code, notes, and snippets.

@beaudierman
Created January 4, 2013 18:07
Show Gist options
  • Save beaudierman/4454618 to your computer and use it in GitHub Desktop.
Save beaudierman/4454618 to your computer and use it in GitHub Desktop.
Integrate RVM with Sublime Text 2 on Mac OS X
# 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