I came across this awesome Sublime plug-in that let you execute ruby code in the comments. Github Repo