Skip to content

Instantly share code, notes, and snippets.

@cannikin
Created September 21, 2016 20:46
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 cannikin/0a0c10198bc0bf2c9fd46f05cd6bc7c3 to your computer and use it in GitHub Desktop.
Save cannikin/0a0c10198bc0bf2c9fd46f05cd6bc7c3 to your computer and use it in GitHub Desktop.
RubyTest.sublime-settings
{
"run_ruby_unit_command": "source /usr/local/opt/chruby/share/chruby/chruby.sh && chruby `cat .ruby-version` && bundle exec ruby -Itest {relative_path}",
"run_single_ruby_unit_command": "source /usr/local/opt/chruby/share/chruby/chruby.sh && chruby `cat .ruby-version` && bundle exec ruby -Itest {relative_path} -n '{test_name}'",
"run_rspec_command": "source /usr/local/opt/chruby/share/chruby/chruby.sh && chruby `cat .ruby-version` && bin/rspec {relative_path}",
"run_single_rspec_command": "source /usr/local/opt/chruby/share/chruby/chruby.sh && chruby `cat .ruby-version` && bin/rspec {relative_path}:{line_number}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment