Skip to content

Instantly share code, notes, and snippets.

@Altons
Created July 2, 2014 14:58
Show Gist options
  • Save Altons/a249f2469b8332c19c30 to your computer and use it in GitHub Desktop.
Save Altons/a249f2469b8332c19c30 to your computer and use it in GitHub Desktop.
Sublime Builds for rbenv and python anaconda
# Ruby using rbenv
{ "cmd": ["/Users/altons/.rbenv/shims/ruby", "$file"],
"file_regex": "^(...*?):([0-9]*):?([0-9]*)",
"selector": "source.ruby"
}
# Anaconda
{
"cmd": ["/Users/altons/anaconda/envs/py33/bin/python3", "-u", "$file"]
,"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)"
,"selector": "source.python"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment