vscode-ruby-debug icon indicating copy to clipboard operation
vscode-ruby-debug copied to clipboard

Exit with code 1

Open Azzawie opened this issue 4 years ago • 8 comments

Screen Shot 2020-06-26 at 1 36 34 PM

I tried to set the path but no luck. "debugger": "/Users/xx/.rbenv/shims/readapt"

Azzawie avatar Jun 26 '20 18:06 Azzawie

Update: the only time it works, by adding gem 'readapt' in the gem file which I don't want to do

Azzawie avatar Jun 26 '20 18:06 Azzawie

Try setting useBundler to false.

castwide avatar Jun 29 '20 22:06 castwide

it's giving me

WARN: Unresolved specs during Gem::Specification.reset:
      rspec (~> 3.0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.

Azzawie avatar Jun 29 '20 23:06 Azzawie

I did bundle clean --force and then bundle install and now I see Screen Shot 2020-06-29 at 7 00 06 PM

Azzawie avatar Jun 30 '20 00:06 Azzawie

Are you able to run rspec without bundler?

castwide avatar Jun 30 '20 00:06 castwide

yes, I can do rspec spec/models/contract_spec.rb which will run the tests in the terminal

Azzawie avatar Jun 30 '20 00:06 Azzawie

Does your test suite run bundler, e.g., with a call to require 'bundler/setup' in spec_helper.rb?

Also, do you get a more detailed error message in the developer console (Help -> Toggle Developer Tools)?

castwide avatar Jun 30 '20 00:06 castwide

I don't have require 'bundler/setup' so I guess it doesn't require the bundler and this is the developer console

Screen Shot 2020-06-29 at 8 24 41 PM

Azzawie avatar Jun 30 '20 01:06 Azzawie