Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

referencing bin/rspec #22

Open
theog opened this issue Jun 19, 2018 · 1 comment
Open

referencing bin/rspec #22

theog opened this issue Jun 19, 2018 · 1 comment

Comments

@theog
Copy link

theog commented Jun 19, 2018

I have tried to reference bin/rspec so spring is pre-loaded. However it does not evaluate this correctly and the command line results as $ [object Object] spec

  ruby.specCommand": {
        "type": "string",
        "default": "bin\/rspec",
        "description": "Defines a custom command to run for specs (i.e. 'spring rspec')"
    }
@tedleahy
Copy link

I had the same problem, it seems that the setting just accepts the string for the command you want to run. Try putting just the following in your settings.json:

"ruby.specCommand": "bin/rspec"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants