CicrleCI fails in section Install Bundler

Hey,
We have an iOS application repository. Each push triggers CircleCI to run an automation suit.
For some reason, starting from today, every new commit fails. Even if it is just committed of a space (" ") on a branch that worked perfectly fine yesterday.

The section that fails is: Install Bundler

Here is the log:

#!/bin/bash --login -eo pipefail

gem install bundler -v “~>2.0”

Fetching: bundler-2.0.2.gem (100%)

ERROR: While executing gem … (Gem::FilePermissionError)

You don’t have write permissions for the /Library/Ruby/Gems/2.3.0 directory.

Exited with code exit status 1

CircleCI received exit code 1

1 Like

I have the same problem, did you find a solution?

We also have the same problem on the MacOS (11.1.0) executor

Luda Fux

Dec 10, 02:44 PST

Hey,
We found a solution.

The issue was resolved once we removed the install bundler phase since it’s already been provided with the macOS instance CircleCI is supplying.

Luda

Hey,
We found a solution.

The issue was resolved once we removed the install bundler phase since it’s already been provided with the macOS instance CircleCI is supplying.

Luda