Created
March 13, 2019 10:28
-
-
Save nfabredev/f22958cef33aaba822bef98cb51eadf4 to your computer and use it in GitHub Desktop.
Launch.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "RSpec - active spec file only", | |
"type": "Ruby", | |
"request": "launch", | |
"program": "${workspaceRoot}/bin/rspec", | |
"useBundler": true, | |
// caution: ruby version and gemset are hardcoded in path | |
"pathToBundler": "/Users/nicolasfabre/.rvm/gems/ruby-2.6.1@goldengate/wrappers/bundle", | |
"args": [ | |
"-I", | |
"${workspaceRoot}", | |
"${file}" | |
] | |
} | |
] | |
} | |
// per https://github.com/rubyide/vscode-ruby/issues/16#issuecomment-243584600 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You'll need to install the following gems:
and replace the
pathToBundler
key in the above config with your own path to bundler.