This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2k
with_clean_env does not replace original RUBYLIB environmental variable #3982
Comments
The Bundler gem is not loaded from |
Whoops; sorry, I misunderstood your example. This is a bug! Thanks for reporting it. |
(This was broken by #2536, which changed from using RUBYOPT to using RUBYLIB, but did not update |
indirect
added a commit
that referenced
this issue
Sep 8, 2015
This still needs tests to ensure that `with_clean_env` does the right thing. refs #3982
homu
added a commit
that referenced
this issue
Sep 20, 2015
Clean RUBYLIB as well in `with_clean_env` Fixes #3982.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
with_clean_env does not reset the RUBYLIB environmental variable. This results in any calls to bundler in that environment will use the current bundler version. For example, I would expect
to return 1.9.1, but it returns 1.10.0.
The text was updated successfully, but these errors were encountered: