Start with:
subl ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Ruby/Ruby.sublime-build
Copy and paste this, replacing the contents of that file with this:
{
"env":{
"PATH":"${HOME}/.rvm/bin:${PATH}"
},
"cmd": [ "rvm-auto-ruby", "$file" ],
"file_regex": "^(...*?):([0-9]*):?([0-9]*)",
"selector": "source.ruby"
}
Now you can use Command+B to build your ruby files!