Skip to content

Instantly share code, notes, and snippets.

@stevensona
Created January 6, 2017 23:26
Show Gist options
  • Save stevensona/522270beec0cfc6eab9a4b5316a62cf1 to your computer and use it in GitHub Desktop.
Save stevensona/522270beec0cfc6eab9a4b5316a62cf1 to your computer and use it in GitHub Desktop.
Run RSpec tests in Vagrant from Visual Studio Code Host
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"command": "cmd",
"isShellCommand": true,
"tasks": [
{
"isBuildCommand": true,
"taskName": "run tests",
"args": ["/C",
"ssh", "[email protected]",
"-p", "2222",
"-i", ".vagrant\\machines\\default\\virtualbox\\private_key",
"\"cd /vagrant && /home/vagrant/.rbenv/shims/rspec -f d --color\""]
}
]
,
"showOutput": "always"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment