Skip to content

Commit

Permalink
build: replace deprecated method
Browse files Browse the repository at this point in the history
    $ 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 <fukuda@clear-code.com>
  • Loading branch information
daipom authored and kenhys committed Dec 8, 2023
1 parent 74db947 commit 7e9eba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e9eba7

Please sign in to comment.