Skip to content

Instantly share code, notes, and snippets.

@pjmartorell
Created July 29, 2014 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjmartorell/336803fee86412f87d8e to your computer and use it in GitHub Desktop.
Save pjmartorell/336803fee86412f87d8e to your computer and use it in GitHub Desktop.
Rspec Sublime Build System
// It's saved under path_to_Packages/User/
{
"env":{
"PATH":"${HOME}/.rvm/bin:${PATH}"
},
"cmd": ["rvm-auto-ruby","-S", "bundle", "exec", "rspec", "-I ${file_path}", "$file"],
"file_regex": "# ([A-Za-z:0-9_./ ]+rb):([0-9]+)",
"working_dir": "${project_path:${folder:${file_path}}}",
"selector": "source.ruby",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment