From 46c4fdc354bd54a36c5faa6c97804750f7bf731e Mon Sep 17 00:00:00 2001 From: Andy Date: Wed, 10 Apr 2024 15:46:19 +0200 Subject: [PATCH] 1009: install bundle with sudo --- .circleci/config.yml | 2 +- .circleci/src/commands/restore_ruby_cache.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 090a082f0..32a116857 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -173,7 +173,7 @@ commands: - 3-gems-{{ arch }}-{{ checksum "<< parameters.directory >>/Gemfile.lock" }} - 3-gems-{{ arch }}- - run: - command: bundle check || bundle install + command: bundle check || sudo bundle install name: Install Fastlane working_directory: << parameters.directory >> - save_cache: diff --git a/.circleci/src/commands/restore_ruby_cache.yml b/.circleci/src/commands/restore_ruby_cache.yml index 9db761546..f3e723ad6 100644 --- a/.circleci/src/commands/restore_ruby_cache.yml +++ b/.circleci/src/commands/restore_ruby_cache.yml @@ -10,7 +10,7 @@ steps: - 3-gems-{{ arch }}- - run: name: Install Fastlane - command: bundle check || bundle install + command: bundle check || sudo bundle install working_directory: << parameters.directory >> - save_cache: key: 3-gems-{{ arch }}-{{ checksum "<< parameters.directory >>/Gemfile.lock" }}