Quick and easy way to get Sublime Text 2 to use your RVM installation of Ruby to build your code
# Source: http://bit.ly/WiEa5q
# Confirmed working on Mac OS X Yosemite(v10.10)
# 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"
}