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

Exit with code 1 #9

Open
Azzawie opened this issue Jun 26, 2020 · 8 comments
Open

Exit with code 1 #9

Azzawie opened this issue Jun 26, 2020 · 8 comments

Comments

@Azzawie
Copy link

Azzawie commented Jun 26, 2020

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
Copy link
Author

Azzawie commented Jun 26, 2020

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

@castwide
Copy link
Owner

Try setting useBundler to false.

@Azzawie
Copy link
Author

Azzawie commented Jun 29, 2020

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
Copy link
Author

Azzawie commented Jun 30, 2020

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

@castwide
Copy link
Owner

Are you able to run rspec without bundler?

@Azzawie
Copy link
Author

Azzawie commented Jun 30, 2020

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

@castwide
Copy link
Owner

castwide commented Jun 30, 2020

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)?

@Azzawie
Copy link
Author

Azzawie commented Jun 30, 2020

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

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