Deprecation: Bundler.with_clean_env
[DEPRECATED] `Bundler.with_clean_env` has been deprecated in favor of `Bundler.with_unbundled_env`. If you instead want the environment before bundler was originally loaded, use `Bundler.with_original_env` (called at /home/circleci/project/vendor/bundle/ruby/2.5.0/gems/semaphore_****_boosters-2.6.0/lib/****_boosters/shell.rb:32)
It is being triggered by this code: https://github.com/renderedtext/test-boosters/blob/master/lib/test_boosters/shell.rb#L32
def with_clean_env
defined?(Bundler) ? Bundler.with_clean_env { yield } : yield
end
For future searchers... This is fixed in several forks. Check out the Network view. :)
Update: Here's an example fixed repo: https://github.com/tobyndockerill/test-boosters, master branch
@renderedtext appears to be non-responsive on this repo.
Had the same issue today using this gem in gitlab CI =>
[DEPRECATED] `Bundler.with_clean_env` has been deprecated in favor of `Bundler.with_unbundled_env`. If you instead want the environment before bundler was originally loaded, use `Bundler.with_original_env` (called at /builds/[MASKED]/[MASKED]/vendor/bundle/ruby/2.7.0/gems/semaphore_test_boosters-2.7.1/lib/test_boosters/shell.rb:32)
@pboling you mentioned that this is fixed in several forks, do you have any recommendation on the one to use? All forks are mostly 0 stars
@Mth0158 I was using a forked copy of https://github.com/tobyndockerill/test-boosters, master branch.