diff --git a/.circleci/config.yml b/.circleci/config.yml index e4723471..f5b714ad 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 9db76154..f3e723ad 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" }}