From 7e9eba736ff40ad985341be800ddc46558be75f2 Mon Sep 17 00:00:00 2001 From: Daijiro Fukuda Date: Fri, 17 Nov 2023 10:09:20 +0900 Subject: [PATCH] build: replace deprecated method $ bundle exec rake build:all [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` Signed-off-by: Daijiro Fukuda --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 1da449b36b..cf7ac11004 100755 --- a/Rakefile +++ b/Rakefile @@ -13,7 +13,7 @@ task test: [:base_test] namespace :build do desc 'Build gems for all platforms' task :all do - Bundler.with_clean_env do + Bundler.with_original_env do %w[ruby x86-mingw32 x64-mingw32 x64-mingw-ucrt].each do |name| ENV['GEM_BUILD_FAKE_PLATFORM'] = name Rake::Task["build"].execute