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
File does not exist error when path is set and Gemfile inside test directory #4055
Comments
Hello! 👋 👋 So, it turns out this error is a combination of things, but I think none of them is an issue in Firstly, With that fix in place, we can now see a better error that points to the actual culprit:
Your glob for test files is |
Wow, great debugging @deivid-rodriguez (feel like I should have caught the glob issue 🤦). The rake improvement looks great. Huge thanks for looking into it and all of the work on Bundler. |
Hi, thanks for all the work on Bundler!
Describe the problem as clearly as you can
I'm running into a pretty odd error when Bundler's
path
config is set and Gemfiles are inside thetest
directory (using Minitest), but not whenpath
isn't set or when Gemfiles are in a different directory with the exact same code.Ref: ruby/setup-ruby#103
Post steps to reproduce the problem
Which command did you run?
See script above.
What were you expecting to happen?
Tests run, like they do if
path
is not set or the Gemfile isn't inside thetest
directory.What actually happened?
Errors with
File does not exist: pry
, which appears to be part oftest/test_helper.rb
inactiverecord-import
.If not included with the output of your command, run
bundle env
and paste the output belowSeeing it on both Mac (env below) and Linux. Haven't tried Windows.
Environment
Bundler Build Metadata
The text was updated successfully, but these errors were encountered: