Fix deprecation warning for Bundler.with_clean_env

This commit is contained in:
Benjamin Neff 2021-06-30 04:59:11 +02:00
parent a1613577e8
commit 2286022f67
No known key found for this signature in database
GPG key ID: 971464C3F1A90194

View file

@ -17,7 +17,7 @@ namespace :gemfiles do
no_rails_path = "test/gemfiles/no-rails.Gemfile"
File.write(no_rails_path, no_rails_gemfile)
Bundler.with_clean_env do
Bundler.with_unbundled_env do
system("BUNDLE_GEMFILE=#{no_rails_path} bundle install")
end
end