Skip to content

Instantly share code, notes, and snippets.

@AgentAntelope
Last active December 15, 2015 10:19
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 AgentAntelope/5244765 to your computer and use it in GitHub Desktop.
Save AgentAntelope/5244765 to your computer and use it in GitHub Desktop.
Make RubyTest work with vagrant

Prefs -> Package Settings -> RubyTest -> Settings - User

{ "run_rspec_command": "commandusedtosshtovagrant 'cd /path/to/project/root/in/vagrant && zeus rspec {relative_path}'", "run_single_rspec_command": "commandusedtosshtovagrant 'cd /path/to/project/root/in/vagrant && zeus rspec {relative_path} :{line_number}'" }

{relative_path} and {line_number} are things sublime uses, and should remain as is. commandusedtosshtovagrant and /path/to/project/root/in/vagrant should be replaced with the appropriate command/path. You must also have run zeus start on your project root. Alternatively, if you prefer bundler, you can replace zeus with bundle exec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment