Skip to content

Conversation

@soutaro
Copy link
Member

@soutaro soutaro commented Jan 30, 2026

Bundler cannot reinstall erb-6.0.1 because there's a previous installation of it
at /opt/hostedtoolcache/Ruby/4.0.1/x64/lib/ruby/gems/4.0.0/gems/erb-6.0.1 that
is unsafe to remove.
The parent of
/opt/hostedtoolcache/Ruby/4.0.1/x64/lib/ruby/gems/4.0.0/gems/erb-6.0.1 is
world-writable and does not have the sticky bit set, making it insecure to
remove due to potential vulnerabilities.
Please change the permissions of
/opt/hostedtoolcache/Ruby/4.0.1/x64/lib/ruby/gems/4.0.0/gems or choose a
different install path.

Installing erb explicitly solves the issue.

@soutaro soutaro changed the title bundle config set Fix erb installation failure Jan 30, 2026
@soutaro soutaro marked this pull request as ready for review January 30, 2026 06:36
@soutaro soutaro enabled auto-merge January 30, 2026 06:36
@soutaro soutaro merged commit e85bb1f into master Jan 30, 2026
21 checks passed
@soutaro soutaro deleted the fix-ci branch January 30, 2026 06:39
soutaro added a commit that referenced this pull request Jan 30, 2026
Fix erb installation failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants