-
Notifications
You must be signed in to change notification settings - Fork 188
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
cannot load such file -- bundler/dep_proxy #1383
Comments
Hello,
Prepending LLVM to I think this is essentially a problem of RVM or a bad interaction between RVM and TruffleRuby. This warning might be part of the problem but it's really a guess. Do you have a file I can reproduce your issue on Linux with latest RVM (which recently installs bundler automatically again), although I get a slightly different error.
And another try, in a new terminal:
and indeed I'm not sure what goes wrong, but it seems bundler is removed from
|
RVM magically does
Maybe RVM's |
Oddly, I can only observe this with RVM. |
That's great news! Congrats on making the whole experience more frictionless at each release!
It's OK, I'll just |
I think I have found the root of the issue. Those are actually the same, because Still, it's good to find this bug :) def bundler_ruby_lib
File.expand_path("../..", __FILE__)
end And so the bug is that BTW to find out this bug I installed JRuby with RVM and modified the source of both bundler installations in parallel and compared the output. |
As a note, it seems the same bug also happens when JRuby 9.2.0.0, because it appears to also canonicalize paths in
|
@eregon This is getting fixed in |
@deivid-rodriguez Thank you for the pointer! I agree the check could be better in Bundler to deal with this better. |
09cac1a fixes the value of |
I created an issue for RVM: rvm/rvm#4425 |
This was fixed upstream: rubygems/bundler#6502 (comment) |
I will probably apply my PR to resolve symlinks in RubyGems to our RubyGems version so things are more reliable and there are no symlinks involved in entries of |
My PR to RubyGems rubygems/rubygems#2352 was merged, and I applied it to TruffleRuby's copy of RubyGems as well, so this bug should not reproduce in the next release (around end of the month), even with Bundler 1.16.2. |
Bundler 1.16.3 was released, which fixes this issue. |
Environment: Mac OS X 10.13, llvm@4, truffleruby 1.0.0-rc3 installed via RVM.
When installing truffleruby via RVM, initially I'll get an error when running a rake task, but reinstalling bundler (with the same version, apparently!) seems to fix the issue.
I've seen this on 2 different computers.
Here is the full log
The text was updated successfully, but these errors were encountered: