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

Having to specify bundle exec twice #1102

Open
petertimwalker opened this issue May 15, 2024 · 2 comments
Open

Having to specify bundle exec twice #1102

petertimwalker opened this issue May 15, 2024 · 2 comments

Comments

@petertimwalker
Copy link

I'm trying to run

rdbg -c -- bundle exec rspec <Path to rspec file>

but I keep getting this error
bundler: failed to load command: rspec
Prepending bundle exec to your command may solve this. (Gem::LoadError)
Screenshot 2024-05-15 at 3 56 53 PM

The weird thing is that when I enter the following command it works

rdbg -c -- bundle exec bundle exec rspec <Path to rspec file>

Any insight is appreciated!

@adam12
Copy link
Contributor

adam12 commented May 15, 2024

Does bundle exec rspec ... on it's own work, outside of rdbg?

Is debug part of your Gemfile?

@petertimwalker
Copy link
Author

bundle exec rspec works outside of rdbg
I installed debug as a system gem so its not in the projects gemfile

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

No branches or pull requests

2 participants